Package enumerate

Enum Class Action

All Implemented Interfaces:
Serializable, Comparable<Action>, Constable

public enum Action extends Enum<Action>
The class that defines all the actions used in the game.
  • Enum Constant Details

    • NEUTRAL

      public static final Action NEUTRAL
    • STAND

      public static final Action STAND
    • FORWARD_WALK

      public static final Action FORWARD_WALK
    • DASH

      public static final Action DASH
    • BACK_STEP

      public static final Action BACK_STEP
    • CROUCH

      public static final Action CROUCH
    • JUMP

      public static final Action JUMP
    • FOR_JUMP

      public static final Action FOR_JUMP
    • BACK_JUMP

      public static final Action BACK_JUMP
    • AIR

      public static final Action AIR
    • STAND_GUARD

      public static final Action STAND_GUARD
    • CROUCH_GUARD

      public static final Action CROUCH_GUARD
    • AIR_GUARD

      public static final Action AIR_GUARD
    • STAND_GUARD_RECOV

      public static final Action STAND_GUARD_RECOV
    • CROUCH_GUARD_RECOV

      public static final Action CROUCH_GUARD_RECOV
    • AIR_GUARD_RECOV

      public static final Action AIR_GUARD_RECOV
    • STAND_RECOV

      public static final Action STAND_RECOV
    • CROUCH_RECOV

      public static final Action CROUCH_RECOV
    • AIR_RECOV

      public static final Action AIR_RECOV
    • CHANGE_DOWN

      public static final Action CHANGE_DOWN
    • DOWN

      public static final Action DOWN
    • RISE

      public static final Action RISE
    • LANDING

      public static final Action LANDING
    • THROW_A

      public static final Action THROW_A
    • THROW_B

      public static final Action THROW_B
    • THROW_HIT

      public static final Action THROW_HIT
    • THROW_SUFFER

      public static final Action THROW_SUFFER
    • STAND_A

      public static final Action STAND_A
    • STAND_B

      public static final Action STAND_B
    • CROUCH_A

      public static final Action CROUCH_A
    • CROUCH_B

      public static final Action CROUCH_B
    • AIR_A

      public static final Action AIR_A
    • AIR_B

      public static final Action AIR_B
    • AIR_DA

      public static final Action AIR_DA
    • AIR_DB

      public static final Action AIR_DB
    • STAND_FA

      public static final Action STAND_FA
    • STAND_FB

      public static final Action STAND_FB
    • CROUCH_FA

      public static final Action CROUCH_FA
    • CROUCH_FB

      public static final Action CROUCH_FB
    • AIR_FA

      public static final Action AIR_FA
    • AIR_FB

      public static final Action AIR_FB
    • AIR_UA

      public static final Action AIR_UA
    • AIR_UB

      public static final Action AIR_UB
    • STAND_D_DF_FA

      public static final Action STAND_D_DF_FA
    • STAND_D_DF_FB

      public static final Action STAND_D_DF_FB
    • STAND_F_D_DFA

      public static final Action STAND_F_D_DFA
    • STAND_F_D_DFB

      public static final Action STAND_F_D_DFB
    • STAND_D_DB_BA

      public static final Action STAND_D_DB_BA
    • STAND_D_DB_BB

      public static final Action STAND_D_DB_BB
    • AIR_D_DF_FA

      public static final Action AIR_D_DF_FA
    • AIR_D_DF_FB

      public static final Action AIR_D_DF_FB
    • AIR_F_D_DFA

      public static final Action AIR_F_D_DFA
    • AIR_F_D_DFB

      public static final Action AIR_F_D_DFB
    • AIR_D_DB_BA

      public static final Action AIR_D_DB_BA
    • AIR_D_DB_BB

      public static final Action AIR_D_DB_BB
    • STAND_D_DF_FC

      public static final Action STAND_D_DF_FC
  • Constructor Details

    • Action

      private Action()
  • Method Details

    • values

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