public void SetInitialState(AState initialState) { this.initialState = initialState; this.currentState = initialState; }