Beispiel #1
0
 public static int getInt(Move m)
 {
     return dictMoveInt[m];
 }
Beispiel #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!");
 }