|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
It's common for objects to want to know when someone "steps" on them, by entering the square that they occupy. This method provides a callback for this notification.
| Method Summary | |
void |
steppedOn(Monster m)
Notification that a monster has stepped in the square containing this object. |
| Method Detail |
public void steppedOn(Monster m)
When this method is called, you have the map exclusive.
m - the Monster who stepped into this square
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||