예제 #1
0
 private void setState(ZertzMoveState newState)
 {
     this.state = newState;
     if (this.state is FinishZertzMoveState)
     {
         this.zertzGame.FinishTurn();
         //EVENTS
         this.perform_ChangeState(0x00);
         this.state = new StartZertzMoveState(this);
     }
 }
예제 #2
0
 public ZertzMoveCreator(ZertzGame game)
 {
     this.zertzGame = game;
     this.zertzBoard = this.zertzGame.Board;
     this.state = new StartZertzMoveState(this);
 }
예제 #3
0
 private void setState(ZertzMoveState newState)
 {
     this.state = newState;
     if(this.state is FinishZertzMoveState) {
         this.zertzGame.FinishTurn();
         //EVENTS
         this.perform_ChangeState(0x00);
         this.state = new StartZertzMoveState(this);
     }
 }
예제 #4
0
 public ZertzMoveCreator(ZertzGame game)
 {
     this.zertzGame  = game;
     this.zertzBoard = this.zertzGame.Board;
     this.state      = new StartZertzMoveState(this);
 }