/// <summary> /// Set the controller /// </summary> /// <param name="state">the object select state which will receive the event</param> public void Init(ObjectSelectState state) { this.state = state; }
public void Setup() { this.stateContext = new StateContext(); this.objectSelectState = new ObjectSelectState(this.stateContext); this.stateContext.SetState(this.objectSelectState); }