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
Modifier and TypeFieldDescriptionstatic final String
An entity to deal with operations involvingDiningRoom
objects.static final String
An entity to represent a tie. -
Method Summary
Modifier and TypeMethodDescriptionint
A getter for the number of cloud tiles on theBoard
.int
A getter for the number of students on the cloud tiles of theBoard
.int
A getter for the number of students on aSchoolBoard
entrance.int
A getter for the number of towers on aSchoolBoard
.
-
Field Details
-
DINING_ROOM
An entity to deal with operations involvingDiningRoom
objects.- 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 aSchoolBoard
entrance.- 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
-