|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrle.simple.monster.MonsterDeathListener
public class MonsterDeathListener
Detect and respond to monster death. For now, we just give the player some experience. This class will have to be augmented later to only give experience if the player killed the monster.
| Method Summary | |
|---|---|
void |
dataChange(RuntimeDataEvent e)
|
java.lang.String |
getCauseDescription()
The internationalized description of this Cause. |
java.lang.Object |
getSource()
The underlying Object that the Cause description refers to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void dataChange(RuntimeDataEvent e)
dataChange in interface RuntimeDataListenerpublic java.lang.String getCauseDescription()
Cause
getCauseDescription in interface Causepublic java.lang.Object getSource()
getSource in interface Cause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||