Package it.polimi.ingsw.eriantys.model
Class GameConstants
java.lang.Object
it.polimi.ingsw.eriantys.model.GameConstants
A class representing all the constants parameters of the game itself.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAn entity to deal with operations involvingDiningRoomobjects.static final StringAn entity to represent a tie. -
Method Summary
Modifier and TypeMethodDescriptionintA getter for the number of cloud tiles on theBoard.intA getter for the number of students on the cloud tiles of theBoard.intA getter for the number of students on aSchoolBoardentrance.intA getter for the number of towers on aSchoolBoard.
-
Field Details
-
DINING_ROOM
An entity to deal with operations involvingDiningRoomobjects.- See Also:
-
TIE
An entity to represent a tie.- See Also:
-
-
Method Details
-
getCloudSize
public int getCloudSize()A getter for the number of students on the cloud tiles of theBoard.- Returns:
- the quantity of students on a cloud tile
-
getCloudNumber
public int getCloudNumber()A getter for the number of cloud tiles on theBoard.- Returns:
- the total quantity of cloud tiles
-
getEntranceSize
public int getEntranceSize()A getter for the number of students on aSchoolBoardentrance.- Returns:
- the quantity of students on the entrance of a
Player'sSchoolBoard
-
getTowerNumber
public int getTowerNumber()A getter for the number of towers on aSchoolBoard.- Returns:
- the quantity of towers on a
Player'sSchoolBoard
-