Class ElectricGate
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class ElectricGate : RegionGate, IDrawable
- Inheritance
-
ElectricGate
- Implements
- Inherited Members
Constructors
ElectricGate(Room)
public ElectricGate(Room room)
Parameters
roomRoom
Fields
batteryChanging
public bool batteryChanging
Field Value
batteryLeft
public float batteryLeft
Field Value
bustedLamp
public int bustedLamp
Field Value
lampBlink
public int lampBlink
Field Value
lamps
public LightSource[,] lamps
Field Value
- LightSource[,]
lampsOn
public bool[] lampsOn
Field Value
- bool[]
meterHeight
public float meterHeight
Field Value
Properties
EnergyEnoughToOpen
public override bool EnergyEnoughToOpen { get; }
Property Value
Methods
BatteryRunning(float)
public void BatteryRunning(float flow)
Parameters
flowfloat
Update(bool)
public override void Update(bool eu)
Parameters
eubool