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 |
|---|
ANIMATABLEBehavior value for animatable entities. |
RENDERABLEBehavior value for renderable entities. |
TOUCHABLEBehavior value for entities that accept touch events. |
TRANSFORMABLEBehavior 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, valueOfMethods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitEnum 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. |