void function ( Player arg0 ) { Command loc0 = arg0 . getCommand ( CommandType . DEPLOY ) ; if ( loc0 . getType ( ) != CommandType . DEPLOY ) { terminate ( ) ; return ; } notifyPlayers ( loc0 ) ; }
plays out the deployment phase of the game , getting a command from a player updating the game state and notifying all players concode_field_sep String DEFAULT_MAP concode_elem_sep List<Player> players concode_elem_sep int currentTurn concode_elem_sep int armiesPerPlayer concode_elem_sep GameState gameState concode_field_sep void init concode_elem_sep void loadMap concode_elem_sep void setCurrentTurn concode_elem_sep Player getCurrentTurnPlayer concode_elem_sep int getArmiesPerPlayer concode_elem_sep void assignTerritories concode_elem_sep void loadDefaultMap concode_elem_sep void playCards concode_elem_sep int getCurrentTurn concode_elem_sep Player getPlayerById concode_elem_sep void fortify concode_elem_sep void addPlayer concode_elem_sep void attack concode_elem_sep Player nextTurn concode_elem_sep void notifyPlayers concode_elem_sep void terminate concode_elem_sep List<Player> getPlayers