Class Initializer

java.lang.Object
it.polimi.ingsw.controller.Initializer

public class Initializer extends Object
helper class to initialize all the bucket of cards and objective that are needed for the start of the game. Immutable
  • Field Details

    • PORT

      public static int PORT
    • PORT_RMI

      public static int PORT_RMI
  • Constructor Details

    • Initializer

      public Initializer()
  • Method Details

    • setBucketOfPO

      public static ArrayList<PrivateObjective> setBucketOfPO()
      return the list of initialized private objective - STATIC
      Returns:
      the list of all the possible private objective
    • setBucketOfCO

      public static ArrayList<CommonObjective> setBucketOfCO()
      return the list of initialized common objective - STATIC
      Returns:
      the list of all the possible common objective
    • setBucketOfCards

      public static ArrayList<Card> setBucketOfCards()
      return the list of initialized cards - STATIC
      Returns:
      the list of all the possible cards present in the game (132)