Enum Class TweenType

java.lang.Object
java.lang.Enum<TweenType>
de.pirckheimer_gymnasium.engine_pi.tweening.TweenType
All Implemented Interfaces:
Serializable, Comparable<TweenType>, Constable

public enum TweenType extends Enum<TweenType>
The TweenType determines which values of a Tweenable} will be modified by a Tween.
  • Enum Constant Details

    • ANGLE

      public static final TweenType ANGLE
    • COLLISION_BOTH

      public static final TweenType COLLISION_BOTH
    • COLLISION_HEIGHT

      public static final TweenType COLLISION_HEIGHT
    • COLLISION_WIDTH

      public static final TweenType COLLISION_WIDTH
    • HITPOINTS

      public static final TweenType HITPOINTS
    • LOCATION_X

      public static final TweenType LOCATION_X
    • LOCATION_XY

      public static final TweenType LOCATION_XY
    • LOCATION_Y

      public static final TweenType LOCATION_Y
    • SIZE_BOTH

      public static final TweenType SIZE_BOTH
    • SIZE_HEIGHT

      public static final TweenType SIZE_HEIGHT
    • SIZE_WIDTH

      public static final TweenType SIZE_WIDTH
    • UNDEFINED

      public static final TweenType UNDEFINED
    • VELOCITY

      public static final TweenType VELOCITY
    • VOLUME

      public static final TweenType VOLUME
    • FONTSIZE

      public static final TweenType FONTSIZE
    • OPACITY

      public static final TweenType OPACITY
  • Method Details

    • values

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