public DrawDevelopmentCard ( |
||
player | The player drawing a development card | |
return |
//Development cards public GameState DrawDevelopmentCard() { if (!valid) { throw new IllegalActionException("Tried to perform an action on an invalid GameAction"); } if (!isAfterDieRoll) { throw new IllegalActionException("Tried to draw developmentcard before the die roll"); } var result = controller.DrawDevelopmentCard(player); return(result); }