9 private int prevSentOxygenValue;
10 private string oxygenSignal;
13 : base (
item, element)
23 if (prevSentOxygenValue != currOxygenPercentage || oxygenSignal ==
null)
25 prevSentOxygenValue = currOxygenPercentage;
26 oxygenSignal = prevSentOxygenValue.ToString();
void SendSignal(string signal, string connectionName)
The base class for components holding the different functionalities of the item
const int LowOxygenPercentage
OxygenDetector(Item item, ContentXElement element)
override void Update(float deltaTime, Camera cam)