Esempio n. 1
0
 public static int getInt(Move m)
 {
     return dictMoveInt[m];
 }
Esempio n. 2
0
 public void takeAction(Move m)
 {
     if (GameController.currentPlayer == this)
     {
         movesTaken[(int)m.moveType]++;
         m.takeAction();
     }
     else throw new Exception(this + " tried to take its turn out of order!");
 }