Package it.polimi.ingsw.controller
Class Initializer
java.lang.Object
it.polimi.ingsw.controller.Initializer
helper class to initialize all the bucket of cards and objective that are needed for the start of the game.
Immutable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn the list of initialized cards - STATICstatic ArrayList<CommonObjective>
return the list of initialized common objective - STATICstatic ArrayList<PrivateObjective>
return the list of initialized private objective - STATIC
-
Field Details
-
PORT
public static int PORT -
PORT_RMI
public static int PORT_RMI
-
-
Constructor Details
-
Initializer
public Initializer()
-
-
Method Details
-
setBucketOfPO
return the list of initialized private objective - STATIC- Returns:
- the list of all the possible private objective
-
setBucketOfCO
return the list of initialized common objective - STATIC- Returns:
- the list of all the possible common objective
-
setBucketOfCards
return the list of initialized cards - STATIC- Returns:
- the list of all the possible cards present in the game (132)
-