Enum Class ShapeDisplayMechanic.Phase

java.lang.Object
java.lang.Enum<ShapeDisplayMechanic.Phase>
hm.zelha.particlesfx.util.ShapeDisplayMechanic.Phase
All Implemented Interfaces:
Serializable, Comparable<ShapeDisplayMechanic.Phase>, Constable
Enclosing interface:
ShapeDisplayMechanic

public static enum ShapeDisplayMechanic.Phase extends Enum<ShapeDisplayMechanic.Phase>
  • Enum Constant Details

    • BEFORE_DISPLAY

      public static final ShapeDisplayMechanic.Phase BEFORE_DISPLAY
      Ran before any particles are displayed on every call of the display() method.
    • BEFORE_DISPLAY_FULL

      public static final ShapeDisplayMechanic.Phase BEFORE_DISPLAY_FULL
      Ran before any particles are displayed on every full display of the shape.
    • BEFORE_ROTATION

      public static final ShapeDisplayMechanic.Phase BEFORE_ROTATION
      Ran before rotation is applied to the location the particle will be displayed to.

      Always ran before the particle is displayed regardless of if rotation is applied in this class or not.
    • AFTER_ROTATION

      public static final ShapeDisplayMechanic.Phase AFTER_ROTATION
      Ran after rotation is applied to the location the particle will be displayed to.

      Only ran if rotation is applied in this class. (ex. ParticleCircle)
    • AFTER_DISPLAY_PARTICLE

      public static final ShapeDisplayMechanic.Phase AFTER_DISPLAY_PARTICLE
      Ran after a particle is displayed at the current location.
    • AFTER_DISPLAY

      public static final ShapeDisplayMechanic.Phase AFTER_DISPLAY
      Ran after all particles are displayed on every call of the display() method.
    • AFTER_DISPLAY_FULL

      public static final ShapeDisplayMechanic.Phase AFTER_DISPLAY_FULL
      Ran after all particles are displayed on every full display of the shape.
  • Method Details

    • values

      public static ShapeDisplayMechanic.Phase[] 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 ShapeDisplayMechanic.Phase 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