예제 #1
0
 public TurnEventArgs(Turn turn)
 {
     this.Turn = turn;
 }
예제 #2
0
 public void OnTurnDone(object sender, TurnEventArgs args)
 {
     curentTurn = args.Turn;
     if (curentTurn.side == Side.Cross)
     {
         curentTurnAnimation = createTurnAnimation(crossFrames, 60, 10);
     }
     else if (curentTurn.side == Side.Zero)
     {
         curentTurnAnimation = createTurnAnimation(zeroFrames, 60, 10);
     }
     curentTurnAnimation.Repeat = false;
 }