Enum Class SimulationActionType

java.lang.Object
java.lang.Enum<SimulationActionType>
dev.twilite.game.simulation.model.action.SimulationActionType
All Implemented Interfaces:
Serializable, Comparable<SimulationActionType>, Constable

public enum SimulationActionType extends Enum<SimulationActionType>
Built-in action categories a simulation result can request.
  • Enum Constant Details

    • PLAYER_ATTACK

      public static final SimulationActionType PLAYER_ATTACK
      The selected candidate is a good tile for performing the caller's attack action.
  • Method Details

    • values

      public static SimulationActionType[] 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 SimulationActionType 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