Entity behaviors. Each entity can support one or more of these behaviors.
public final enum Behaviors extends Enum<Behaviors>
Enum Constant Summary
Enum Constant and Description |
---|
ANIMATABLE Behavior value for animatable entities. |
RENDERABLE Behavior value for renderable entities. |
TOUCHABLE Behavior value for entities that accept touch events. |
TRANSFORMABLE Behavior value for entities that can be moved, rotated, or scaled. |
Method Summary
Modifier and Type | Method and Description |
---|---|
public static Behaviors | valueOf(String name) |
public static Behaviors | values() |
Methods inherited from java.lang.Enum
clone
, compareTo
, equals
, finalize
, getDeclaringClass
, hashCode
, name
, ordinal
, toString
, valueOf
Methods inherited from java.lang.Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
Enum Constant Detail
ANIMATABLE |
---|
public static final ANIMATABLE Behavior value for animatable entities. An entity that declares this behavior must also
implement Animatable . |
RENDERABLE |
---|
public static final RENDERABLE Behavior value for renderable entities. An entity that declares this behavior must also
implement Renderable . |
TOUCHABLE |
---|
public static final TOUCHABLE Behavior value for entities that accept touch events. An entity that declares this behavior
must also implement Touchable . |
TRANSFORMABLE |
---|
public static final TRANSFORMABLE Behavior value for entities that can be moved, rotated, or scaled. An entity that declares
this behavior must also implement Transformable . |