// Use this for initialization void Start() { current_state = new CExpecting(); }
// Handles the next state public void StateChanged() { current_state = current_state.GetNextState(); }