|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.uni_paderborn.robots.data.Item
|
+--de.uni_paderborn.robots.data.Wall
This class represents a wall in the arena.
| Field Summary | |
static long |
serialVersionUID
used for serialization |
private int |
type
type of wall, used by the GUI classes to draw different kind of walls |
| Fields inherited from class de.uni_paderborn.robots.data.Item |
field, id |
| Constructor Summary | |
Wall()
standard constructor, creates wall of type 0. |
|
Wall(int type)
param constructor, creates a wall of the specified type. |
|
| Method Summary | |
int |
getType()
Returns the current type of the wall. |
void |
setType(int type)
Sets the type of the wall to the specified type. |
| Methods inherited from class de.uni_paderborn.robots.data.Item |
finalize, getField, getID, getItemName, setField |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final long serialVersionUID
private int type
| Constructor Detail |
public Wall()
public Wall(int type)
type - type of the wall| Method Detail |
public void setType(int type)
type - new type of the wallpublic int getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||