public override void Update(float time) { bindingManager.Update(time); SessionTime += time; for (var i = 0; i < ClockSpeed; i++) { base.Update(time / (float)ClockSpeed); } if (Mode == Modes.STARVED) { ChildContext = null; } else if (Mode == Modes.OFF) { ChildContext = null; } // After booting if (ChildContext == null) { Push(new ImmediateMode(this)); } }
public override void Update(float time) { bindingManager.Update(time); base.Update(time); if (Mode == Modes.STARVED) { ChildContext = null; } else if (Mode == Modes.OFF) { ChildContext = null; } // After booting if (ChildContext == null) { Push(new ImmediateMode(this)); } }