|
|||||||||
| 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
|
+--de.uni_paderborn.robots.items.Well
This is the reactable item well
| Fields inherited from class de.uni_paderborn.robots.items.Reactable |
energyDiff |
| Fields inherited from class de.uni_paderborn.robots.items.Item |
field, name |
| Constructor Summary | |
Well()
|
|
| Method Summary | |
void |
doAction(Robot robot)
adds 10 points to the robot's energy Note: setEnergy() ensures that the maximum energy is not exceeded. |
| Methods inherited from class de.uni_paderborn.robots.items.Reactable |
getEnergyDiff, setEnergyDiff |
| Methods inherited from class de.uni_paderborn.robots.items.Item |
getField, getIcon, getName, removeYou, setField, setName |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Well()
| Method Detail |
public void doAction(Robot robot)
doAction in class Reactablerobot - the Robot for which doAction should be executed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||