|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.kernel.GUIDCarrier
de.adom.jade.kernel.DefaultActor
de.adom.jade.beings.Being
de.adom.jade.beings.NPC
Implements monsters. Monsters act with their own free will and will follow their own goals.
| Constructor Summary | |
|---|---|
NPC(Map map)
Creates a new NPC. |
|
| Method Summary | |
|---|---|
protected void |
doAct()
The actual implementation for actions that are taken. |
java.lang.String |
getLogicalName()
Returns the logical name for tbis being. |
protected boolean |
isFirstPerson()
Determines whether messages originating from this being use first person singular or third person singular word form. |
protected boolean |
isVisibleToImpl(Being being)
Determines whether the PC currently is visible to the given being. |
java.lang.String |
you()
Returns a text describing this being as the actor. |
| Methods inherited from class de.adom.jade.kernel.DefaultActor |
|---|
actAgainAfter, getActionPoint, setActionPoint |
| Methods inherited from class de.adom.jade.kernel.GUIDCarrier |
|---|
getGUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NPC(Map map)
map - the map the NPC dwells upon| Method Detail |
|---|
protected void doAct()
doAct in class Beingpublic java.lang.String getLogicalName()
getLogicalName in class Beingprotected boolean isFirstPerson()
isFirstPerson in class Beingfalsepublic java.lang.String you()
you in class Beingprotected boolean isVisibleToImpl(Being being)
isVisibleToImpl in class Beingbeing - the being that tries to discern the PC
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||