예제 #1
0
 /// <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;
 }
예제 #2
0
 public void Setup()
 {
     this.stateContext      = new StateContext();
     this.objectSelectState = new ObjectSelectState(this.stateContext);
     this.stateContext.SetState(this.objectSelectState);
 }