WIP Weather obelisk first pass

This commit is contained in:
tterrag1098 committed 2014-12-30 10:21:50 -05:00
1 parent e17c938814
commit 045a04cc76
20 files changed
+395 -39

No files matched your search

@@ -15,7 +15,7 @@ import crazypants.vecmath.VecmathUtil;
public abstract class AbstractPoweredMachineEntity extends AbstractMachineEntity implements IInternalPoweredTile {
// Power
protected Capacitors capacitorType;
private Capacitors capacitorType;
private int storedEnergyRF;
protected float lastSyncPowerStored = -1;
@@ -81,6 +81,10 @@ public abstract class AbstractPoweredMachineEntity extends AbstractMachineEntity
return storedEnergyRF > 0;
}
public Capacitors getCapacitorType() {
return capacitorType;
}
public ICapacitor getCapacitor() {
return capacitorType.capacitor;
}