Added additional constructor for LiquidTank

This commit is contained in:
CovertJaguar 2012-07-27 01:22:15 -07:00
parent f4d5abafbd
commit c98cd10e73

View file

@ -7,6 +7,10 @@ public class LiquidTank implements ILiquidTank {
private LiquidStack liquid;
private int capacity;
public LiquidTank(int capacity) {
this(null, capacity);
}
public LiquidTank(int liquidId, int quantity, int capacity) {
this(new LiquidStack(liquidId, quantity), capacity);
}