Enum Class PhaseName

java.lang.Object
java.lang.Enum<PhaseName>
it.polimi.ingsw.eriantys.controller.phases.PhaseName
All Implemented Interfaces:
Serializable, Comparable<PhaseName>, Constable

public enum PhaseName extends Enum<PhaseName>
  • Enum Constant Details

    • MOVE_STUDENT

      public static final PhaseName MOVE_STUDENT
    • MOTHER_NATURE

      public static final PhaseName MOTHER_NATURE
    • SELECT_CLOUD

      public static final PhaseName SELECT_CLOUD
  • Method Details

    • values

      public static PhaseName[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PhaseName valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null