|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.uni_paderborn.robots.items.Item
|
+--de.uni_paderborn.robots.items.Reactable
This is the mother-class of all reactables
| Field Summary | |
private int |
energyDiff
integer to store energy difference Currently not used. |
| Fields inherited from class de.uni_paderborn.robots.items.Item |
field, name |
| Constructor Summary | |
Reactable()
|
|
| Method Summary | |
void |
doAction(Robot robot)
doAction should be implemented in all children |
int |
getEnergyDiff()
get method for energyDiff Currently not used. |
int |
setEnergyDiff(int energyDiff)
Write access method for attribute energyDiff Currently not used. |
| Methods inherited from class de.uni_paderborn.robots.items.Item |
getField, getIcon, getName, removeYou, setField, setName |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int energyDiff
| Constructor Detail |
public Reactable()
| Method Detail |
public void doAction(Robot robot)
robot - the Robot for which doAction should be executedpublic int getEnergyDiff()
public int setEnergyDiff(int energyDiff)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||