Added energy config readiness to all configurable machines, still yet to actually implement energy management

This commit is contained in:
Aidan C. Brady committed 2015-03-07 23:55:22 -06:00
1 parent 1bff3a93da
commit e70650154d
13 files changed
+86 -13

No files matched your search

@@ -9,10 +9,26 @@ public class SideData
/** Int[] of available side slots */
public int[] availableSlots;
/** EnergyState representing this SideData */
public EnergyState energyState;
public SideData(EnumColor colour, int[] slots)
{
color = colour;
availableSlots = slots;
}
public SideData(EnumColor colour, EnergyState state)
{
color = colour;
energyState = state;
}
public static enum EnergyState
{
INPUT,
OUTPUT,
OFF;
}
}