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!"); }