Enum Constant and Description |
---|
COGWHEEL_LEFT
A cogwheel rotating to the left
|
COGWHEEL_RIGHT
A cogwheel rotating to the right
|
CONVEYOR_BELT_FAST
A fast and straight conveyor belt
|
CONVEYOR_BELT_FAST_LEFT
A fast conveyor belt with a leftward bend
|
CONVEYOR_BELT_FAST_RIGHT
A fast conveyor belt with a rightward bend
|
CONVEYOR_BELT_FAST_SIDE_ENTRANCE_LEFT
A fast conveyor belt with one entrance on the left and one from behind
|
CONVEYOR_BELT_FAST_SIDE_ENTRANCE_RIGHT
A fast conveyor belt with one entrance on the right and one from behind
|
CONVEYOR_BELT_FAST_SIDE_ENTRANCES
A fast conveyor belt with one entrance on the left and one from behind
|
CONVEYOR_BELT_SLOW
A slow and straight conveyor belt
|
CONVEYOR_BELT_SLOW_LEFT
A slow conveyor belt with a leftward bend
|
CONVEYOR_BELT_SLOW_RIGHT
A slow conveyor belt with a rightward bend
|
CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_LEFT
A slow conveyor belt with one entrance on the left and one from behind
|
CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_RIGHT
A slow conveyor belt with one entrance on the right and one from behind
|
CONVEYOR_BELT_SLOW_SIDE_ENTRANCES
A slow conveyor belt with entrances both to the left and to the right
|
FLAG_1
The first flag a robot has to visit to win the game
|
FLAG_2
The second flag a robot has to visit to win the game
|
FLAG_3
The third flag a robot has to visit to win the game
|
FLAG_4
The fourth flag a robot has to visit to win the game
|
HOLE
A hole which robots might fall into
|
PIT_CORNER
A pit with two connected edges the robot may fall into
|
PIT_EMPTY
A pit without edges a robot may fall into
|
PIT_FULL
A pit with all edges a robot may fall into
|
PIT_NORMAL
A pit with one edge a robot may fall into
|
PIT_U
A pit with three edges the robot may fall into
|
ROBOT_SPAWN_1
The spawn location belonging to the first robot
|
ROBOT_SPAWN_2
The spawn location belonging to the second robot
|
ROBOT_SPAWN_3
The spawn location belonging to the third robot
|
ROBOT_SPAWN_4
The spawn location belonging to the fourth robot
|
ROBOT_SPAWN_5
The spawn location belonging to the fifth robot
|
ROBOT_SPAWN_6
The spawn location belonging to the sixth robot
|
ROBOT_SPAWN_7
The spawn location belonging to the seventh robot
|
ROBOT_SPAWN_8
The spawn location belonging to the eight robot
|
TILE
The generic tile without functionality
|
WRENCH
A wrench which repairs a robot
|
WRENCH_AND_HAMMER
A wrench and hammer which repairs a robot
|
Modifier and Type | Method and Description |
---|---|
static TileType |
getTileTypeFromID(int tileTypeID)
Gets a tile type value from its numerical representation
|
int |
getTileTypeID()
Gets the numerical id used for alternate identification of a tile type
|
static TileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileType TILE
public static final TileType HOLE
public static final TileType COGWHEEL_RIGHT
public static final TileType COGWHEEL_LEFT
public static final TileType CONVEYOR_BELT_SLOW
public static final TileType CONVEYOR_BELT_SLOW_RIGHT
public static final TileType CONVEYOR_BELT_SLOW_LEFT
public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCES
public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_LEFT
public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_RIGHT
public static final TileType CONVEYOR_BELT_FAST
public static final TileType CONVEYOR_BELT_FAST_RIGHT
public static final TileType CONVEYOR_BELT_FAST_LEFT
public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCES
public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCE_LEFT
public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCE_RIGHT
public static final TileType FLAG_1
public static final TileType FLAG_2
public static final TileType FLAG_3
public static final TileType FLAG_4
public static final TileType WRENCH
public static final TileType WRENCH_AND_HAMMER
public static final TileType ROBOT_SPAWN_1
public static final TileType ROBOT_SPAWN_2
public static final TileType ROBOT_SPAWN_3
public static final TileType ROBOT_SPAWN_4
public static final TileType ROBOT_SPAWN_5
public static final TileType ROBOT_SPAWN_6
public static final TileType ROBOT_SPAWN_7
public static final TileType ROBOT_SPAWN_8
public static final TileType PIT_EMPTY
public static final TileType PIT_FULL
public static final TileType PIT_NORMAL
public static final TileType PIT_CORNER
public static final TileType PIT_U
public static TileType[] values()
for (TileType c : TileType.values()) System.out.println(c);
public static TileType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TileType getTileTypeFromID(int tileTypeID)
tileTypeID
- The numerical representation of a tile typepublic int getTileTypeID()