Package modele

Enum Class Combat.Issue

All Implemented Interfaces:
Serializable, Comparable<Combat.Issue>, Constable
Enclosing class:
Combat

public static enum Combat.Issue extends Enum<Combat.Issue>
États possibles d’un combat.
  • Enum Constant Details

    • EN_COURS

      public static final Combat.Issue EN_COURS
      État EN_COURS d’un combat.
    • VICTOIRE

      public static final Combat.Issue VICTOIRE
      État VICTOIRE d’un combat.
    • DEFAITE

      public static final Combat.Issue DEFAITE
      État DEFAITE d’un combat.
    • FUITE

      public static final Combat.Issue FUITE
      État FUITE d’un combat.
  • Constructor Details

    • Issue

      private Issue()
  • Method Details

    • values

      public static Combat.Issue[] 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 Combat.Issue 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