Fix: missing JavaDoc comments and parameter tags
This commit is contained in:
@@ -63,7 +63,13 @@ public class Game implements Serializable {
|
||||
* The mapping between slots and the players assigned to them.
|
||||
*/
|
||||
private HashMap<Slot,Player> slotMap;
|
||||
public HashMap<Slot,Player> getSlotMap() {return slotMap;};
|
||||
|
||||
/**
|
||||
* Returns the map of slots assigned to players.
|
||||
*
|
||||
* @return the map that associates each slot with the corresponding player.
|
||||
*/
|
||||
public HashMap<Slot,Player> getSlotMap() {return slotMap;}
|
||||
|
||||
/**
|
||||
* The configured number of players for this game.
|
||||
@@ -718,22 +724,14 @@ public class Game implements Serializable {
|
||||
|
||||
currentState.GameStageUpdate(GameStages.RES_EVENT);
|
||||
|
||||
if (currentState.getRound() < 10) {
|
||||
nextRound();
|
||||
currentState.PlayerUpdate(orderLogicCard.pull(), null);
|
||||
currentState.GameStageUpdate(GameStages.SLOT_CHOICE);
|
||||
} else {
|
||||
currentState.GameStageUpdate(GameStages.ENDING);
|
||||
endGame();
|
||||
}
|
||||
|
||||
return;
|
||||
/**
|
||||
* Checks whether there are any drawable lower tribe cards on the board,
|
||||
* i.e. lower tribe cards that are not event cards.
|
||||
*
|
||||
* @return {@code true} if at least one non-event lower tribe card is available, {@code false} otherwise.
|
||||
*/
|
||||
if (currentState.getRound() < 10) {
|
||||
nextRound();
|
||||
currentState.PlayerUpdate(orderLogicCard.pull(), null);
|
||||
currentState.GameStageUpdate(GameStages.SLOT_CHOICE);
|
||||
} else {
|
||||
currentState.GameStageUpdate(GameStages.ENDING);
|
||||
endGame();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user