Class PartyCreator
java.lang.Object
com.mg105.use_cases.set_up.state_setter.PartyCreator
- All Implemented Interfaces:
StateSetter
This class should be called once when the game is first starting. Its only job is to create the party members
for the game
-
Constructor Summary
ConstructorDescriptionPartyCreator
(@NotNull PartyDataInterface partyAccess) Creates a new instance of PartyCreator -
Method Summary
-
Constructor Details
-
PartyCreator
Creates a new instance of PartyCreator- Parameters:
partyAccess
- an object that is used to access information of the party from the data storage system
-
-
Method Details
-
setState
Sets the correct party with the correct members and attributes in the state based on the values in a "database"- Specified by:
setState
in interfaceStateSetter
- Parameters:
state
- the game state to act on.
-