|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrobocraft.common.CommonEnum
robocraft.common.ObjectType
ObjectType represents the type of a GameObject.
The only instances of this class are those found in the static
fields described below. This means that instances can always be
meaningfully compared using ==
.
GameObject.getType()
Field Summary | |
static ObjectType |
ENERGON_CUBE
The ObjectType of an energon cube. |
static ObjectType |
FLYER_ROBOT
The ObjectType of a Flyer robot. |
static ObjectType |
QUEEN_ROBOT
The ObjectType of a Queen robot. |
static ObjectType |
SHOOTER_ROBOT
The ObjectType of a Shooter robot. |
static ObjectType |
SOLDIER_ROBOT
The ObjectType of a Soldier robot. |
Method Summary | |
boolean |
isRobot()
Returns whether this ObjectType is a type of robot and not an energon cube. |
java.lang.String |
toString()
Returns a String such as "Soldier" or "EnergonCube". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ObjectType SOLDIER_ROBOT
public static final ObjectType SHOOTER_ROBOT
public static final ObjectType FLYER_ROBOT
public static final ObjectType QUEEN_ROBOT
public static final ObjectType ENERGON_CUBE
Method Detail |
public boolean isRobot()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |