public void SwitchToNextState() { if (NextState != null) { Toggle(false); NextState.Toggle(true); } }