|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for computer handled creatures.
Method Summary | |
Command |
getCommand()
Return command for next turn. |
boolean |
isComputer()
Returns whether this creature is a computer creature. |
void |
setComputer(boolean pComputer)
Set whether this is a computer controlled creature. |
Method Detail |
public boolean isComputer()
public void setComputer(boolean pComputer)
true
for the creatures loaded from the game data.
pComputer
- True if this creatures is controlled by a computerpublic Command getCommand()
Use getGI().getCommand("command name")
to get the
command. If you want arguments for that command, you should set
those before returning.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |