7 private int prevSentOxygenValue;
11 : base (
item, element)
21 if (prevSentOxygenValue != currOxygenPercentage ||
OxygenSignal ==
null)
23 prevSentOxygenValue = currOxygenPercentage;
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)