Enum Class TweenType

java.lang.Object
java.lang.Enum<TweenType>
de.gurkenlabs.litiengine.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
      The angle of the entity.
    • COLLISION_BOTH

      public static final TweenType COLLISION_BOTH
      Both the width and height of the collision box.
    • COLLISION_HEIGHT

      public static final TweenType COLLISION_HEIGHT
      The height of the collision box.
    • COLLISION_WIDTH

      public static final TweenType COLLISION_WIDTH
      The width of the collision box.
    • HITPOINTS

      public static final TweenType HITPOINTS
      The hitpoints of the entity.
    • LOCATION_X

      public static final TweenType LOCATION_X
      The X coordinate of the location.
    • LOCATION_XY

      public static final TweenType LOCATION_XY
      Both the X and Y coordinates of the location.
    • LOCATION_Y

      public static final TweenType LOCATION_Y
      The Y coordinate of the location.
    • SIZE_BOTH

      public static final TweenType SIZE_BOTH
      Both the width and height of the size.
    • SIZE_HEIGHT

      public static final TweenType SIZE_HEIGHT
      The height of the size.
    • SIZE_WIDTH

      public static final TweenType SIZE_WIDTH
      The width of the size.
    • UNDEFINED

      public static final TweenType UNDEFINED
      Undefined type.
    • VELOCITY

      public static final TweenType VELOCITY
      The velocity of the entity.
    • VOLUME

      public static final TweenType VOLUME
      The volume of the entity.
    • FONTSIZE

      public static final TweenType FONTSIZE
      The font size.
    • OPACITY

      public static final TweenType OPACITY
      The opacity of the entity.
  • 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