Enum Class TweenType
- All Implemented Interfaces:
Serializable,Comparable<TweenType>,Constable
The TweenType determines which values of a
Tweenable will be modified by a Tween.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe angle of the entity.Both the width and height of the collision box.The height of the collision box.The width of the collision box.The font size.The hitpoints of the entity.The X coordinate of the location.Both the X and Y coordinates of the location.The Y coordinate of the location.The opacity of the entity.Both the width and height of the size.The height of the size.The width of the size.Undefined type.The velocity of the entity.The volume of the entity. -
Method Summary
-
Enum Constant Details
-
ANGLE
The angle of the entity. -
COLLISION_BOTH
Both the width and height of the collision box. -
COLLISION_HEIGHT
The height of the collision box. -
COLLISION_WIDTH
The width of the collision box. -
HITPOINTS
The hitpoints of the entity. -
LOCATION_X
The X coordinate of the location. -
LOCATION_XY
Both the X and Y coordinates of the location. -
LOCATION_Y
The Y coordinate of the location. -
SIZE_BOTH
Both the width and height of the size. -
SIZE_HEIGHT
The height of the size. -
SIZE_WIDTH
The width of the size. -
UNDEFINED
Undefined type. -
VELOCITY
The velocity of the entity. -
VOLUME
The volume of the entity. -
FONTSIZE
The font size. -
OPACITY
The opacity of the entity.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-