public interface ILiquidTank
| Modifier and Type | Method and Description |
|---|---|
LiquidStack |
drain(int maxDrain,
boolean doDrain) |
int |
fill(LiquidStack resource,
boolean doFill) |
int |
getCapacity() |
LiquidStack |
getLiquid() |
int |
getTankPressure()
Positive values indicate a positive liquid pressure (liquid wants to leave this tank)
Negative values indicate a negative liquid pressure (liquid wants to fill this tank)
Zero indicates no pressure
|
LiquidStack getLiquid()
int getCapacity()
int fill(LiquidStack resource, boolean doFill)
resource - doFill - LiquidStack drain(int maxDrain, boolean doDrain)
maxDrain - doDrain - int getTankPressure()