예제 #1
0
 public TrasitionGameState(Teno teno, ITenoState prevState, ITenoState newState)
 {
     game           = Game1.GetInstance();
     this.teno      = teno;
     this.prevState = prevState;
     this.newState  = newState;
     currentState   = prevState;
 }
예제 #2
0
 public DeadGameState(Teno teno)
 {
     game        = Game1.GetInstance();
     this.teno   = teno;
     teno.isDead = true;
 }