|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GameObjectClassification> components.GameObjectClassification
public enum GameObjectClassification
GameObjectClassification is a tag that describes a GameObject This is the enum of GameObjectType that exists, it is useful for new gizmo construction.
GameObjectFactory
factory //this is the factory of the specified enum.
String
xmlname //This is the xml-valid object name
Enum Constant Summary | |
---|---|
ABSORBER
|
|
BALL
|
|
CIRCLEBUMPER
|
|
FLIPPER
|
|
LEFTFLIPPER
|
|
RIGHTFLIPPER
|
|
SELECTED
|
|
SQUAREBUMPER
|
|
TRIANGLEBUMPER
|
|
WALL
|
Method Summary | |
---|---|
String |
getXMLName()
Returns the xmlname for this object |
GameObject |
newInstance(Map<String,String> p,
GameSpace g)
Returns a GameObject with properties p that match this enum's value |
static GameObjectClassification |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GameObjectClassification[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GameObjectClassification BALL
public static final GameObjectClassification CIRCLEBUMPER
public static final GameObjectClassification SQUAREBUMPER
public static final GameObjectClassification TRIANGLEBUMPER
public static final GameObjectClassification FLIPPER
public static final GameObjectClassification ABSORBER
public static final GameObjectClassification LEFTFLIPPER
public static final GameObjectClassification RIGHTFLIPPER
public static final GameObjectClassification WALL
public static final GameObjectClassification SELECTED
Method Detail |
---|
public static final GameObjectClassification[] values()
for(GameObjectClassification c : GameObjectClassification.values()) System.out.println(c);
public static GameObjectClassification valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic GameObject newInstance(Map<String,String> p, GameSpace g)
public String getXMLName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |