Class PartyCreator

All Implemented Interfaces:

public class PartyCreator extends Object implements 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 Details

    • PartyCreator

      public PartyCreator(@NotNull @NotNull PartyDataInterface partyAccess)
      Creates a new instance of PartyCreator
      partyAccess - an object that is used to access information of the party from the data storage system
  • Method Details

    • setState

      public void setState(GameState state)
      Sets the correct party with the correct members and attributes in the state based on the values in a "database"
      Specified by:
      setState in interface StateSetter
      state - the game state to act on.