Package mindustry.world.consumers
Class ConsumeLiquidFlammable
java.lang.Object
mindustry.world.consumers.Consume
mindustry.world.consumers.ConsumeLiquidBase
mindustry.world.consumers.ConsumeLiquidFilter
mindustry.world.consumers.ConsumeLiquidFlammable
-
Field Summary
Fields inherited from class mindustry.world.consumers.ConsumeLiquidFilter
filter
Fields inherited from class mindustry.world.consumers.ConsumeLiquidBase
amount
Fields inherited from class mindustry.world.consumers.Consume
booster, multiplier, optional, update
-
Constructor Summary
ConstructorDescriptionConsumeLiquidFlammable
(float amount) ConsumeLiquidFlammable
(float minFlammability, float amount) -
Method Summary
Methods inherited from class mindustry.world.consumers.ConsumeLiquidFilter
apply, build, display, efficiency, getConsumed, update
-
Field Details
-
minFlammability
public float minFlammability
-
-
Constructor Details
-
ConsumeLiquidFlammable
public ConsumeLiquidFlammable(float minFlammability, float amount) -
ConsumeLiquidFlammable
public ConsumeLiquidFlammable(float amount) -
ConsumeLiquidFlammable
public ConsumeLiquidFlammable()
-
-
Method Details
-
efficiencyMultiplier
public float efficiencyMultiplier(mindustry.gen.Building build) - Overrides:
efficiencyMultiplier
in classConsume
- Returns:
- multiplier for efficiency - this can be above 1. Will not influence a building's base efficiency value.
-