Energy Cubes and Gas Tanks now have configurable item inputs and gas/energy outputs, fixed Portable Tank item output

This commit is contained in:
aidancbrady committed 2016-01-29 00:34:50 -05:00
1 parent 0a135a6936
commit a22b33a629
24 files changed
+287 -118

No files matched your search

+6 -6
View File
@@ -18,11 +18,11 @@ public class SideData
/** The name of this SideData */
public String name;
/** Int[] of available side slots, can be used for items, gases, or items */
/** int[] of available side slots, can be used for items, gases, or items */
public int[] availableSlots;
/** EnergyState representing this SideData */
public EnergyState energyState;
/** IOState representing this SideData */
public IOState ioState;
public SideData(String n, EnumColor colour, int[] slots)
{
@@ -31,11 +31,11 @@ public class SideData
availableSlots = slots;
}
public SideData(String n, EnumColor colour, EnergyState state)
public SideData(String n, EnumColor colour, IOState state)
{
name = n;
color = colour;
energyState = state;
ioState = state;
}
public String localize()
@@ -87,7 +87,7 @@ public class SideData
return (GasTank)tanks[0];
}
public static enum EnergyState
public static enum IOState
{
INPUT,
OUTPUT,