|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrle.core.vm.PlugInBase
rle.simple.monster.SimpleMonsterAi
public class SimpleMonsterAi
Controls monsters.
| Field Summary |
|---|
| Fields inherited from class rle.core.vm.PlugInBase |
|---|
config, context, parameters |
| Constructor Summary | |
|---|---|
SimpleMonsterAi()
|
|
| Method Summary | |
|---|---|
Creature |
getCreature()
|
Monster |
getMonster()
|
void |
setCreature(Creature c)
|
void |
setMonster(Monster monster)
|
void |
takeTurn()
Perform the next action this Artificial Intelligence wants its creature to take. |
| Methods inherited from class rle.core.vm.PlugInBase |
|---|
config, getContext, getParameters, paramMap, setConfig, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rle.core.vm.PlugIn |
|---|
config, getContext, paramMap, setConfig, setParameters |
| Constructor Detail |
|---|
public SimpleMonsterAi()
| Method Detail |
|---|
public Monster getMonster()
public void setMonster(Monster monster)
public void takeTurn()
CreatureAi
takeTurn in interface CreatureAipublic void setCreature(Creature c)
setCreature in interface CreatureAipublic Creature getCreature()
getCreature in interface CreatureAi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||