|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.JavaBehaviour<BOT>
cz.cuni.amis.pogamut.sposh.context.USAR2004Behaviour<BOT>
BOT - public class USAR2004Behaviour<BOT extends cz.cuni.amis.pogamut.usar2004.agent.USAR2004Bot>
For old version of POSH - obsolete, not used. Now Context is used in combination with senses and actions.
| Field Summary | |
|---|---|
protected cz.cuni.amis.pogamut.base.communication.command.IAct |
act
Shortcut for the UT2004BotModuleController#getAct(). |
protected cz.cuni.amis.pogamut.base.communication.worldview.listener.annotation.AnnotationListenerRegistrator |
listenerRegistrator
Listener registrator that probes declared methods for the presence of EventListener, ObjectClassEventListener,
ObjectClassListener, ObjectEventListener and ObjectListener
annotations and automatically registers them as listeners on a specific
events. |
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
log
Alias for user's log. |
protected Random |
random
Random number generator that is usually useful to have during decision making. |
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
user
Deprecated. use UT2004BotController#log instead |
protected cz.cuni.amis.pogamut.base.communication.worldview.IWorldView |
world
Shortcut for the UT2004BotModuleController#getWorldView(). |
| Fields inherited from class cz.cuni.amis.pogamut.sposh.JavaBehaviour |
|---|
bot |
| Constructor Summary | |
|---|---|
USAR2004Behaviour(String name,
BOT bot)
|
|
| Method Summary | |
|---|---|
cz.cuni.amis.pogamut.base.communication.command.IAct |
getAct()
|
cz.cuni.amis.pogamut.base.communication.worldview.IWorldView |
getWorldView()
|
protected void |
initializeBehaviour(BOT bot)
Called after the construction of the UT2004Behaviour before the
GameBots2004 greets the bot even before
UT2004Behaviour#prepareBehaviour(UT2004Bot) method. |
protected void |
initializeListeners(BOT bot)
Initializes UT2004Behaviour#listenerRegistrator and calls AnnotationListenerRegistrator.addListeners()
method to probe all declared methods for event-annotation presence. |
protected void |
initializeModules(BOT bot)
Initializes memory/command modules of the bot. |
protected void |
prepareBehaviour(BOT bot)
Called after the behaviour construction to initialize user's data structures. |
| Methods inherited from class cz.cuni.amis.pogamut.sposh.JavaBehaviour |
|---|
doNothing, fail, getActions, getBot, getName, getSenses, logicAfterPlan, logicBeforePlan, succeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Random random
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory user
UT2004BotController#log insteadLevel.ALL.
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory log
protected cz.cuni.amis.pogamut.base.communication.worldview.listener.annotation.AnnotationListenerRegistrator listenerRegistrator
EventListener, ObjectClassEventListener,
ObjectClassListener, ObjectEventListener and ObjectListener
annotations and automatically registers them as listeners on a specific
events. Note that this registrator is usable for 'this' object only! It will work only for 'this' object.
protected cz.cuni.amis.pogamut.base.communication.worldview.IWorldView world
UT2004BotModuleController#getWorldView().
protected cz.cuni.amis.pogamut.base.communication.command.IAct act
UT2004BotModuleController#getAct().
| Constructor Detail |
|---|
public USAR2004Behaviour(String name,
BOT bot)
| Method Detail |
|---|
protected void initializeBehaviour(BOT bot)
UT2004Behaviour before the
GameBots2004 greets the bot even before
UT2004Behaviour#prepareBehaviour(UT2004Bot) method. NOTE: This is Pogamut's developers reserved method - do not override it and if you do, always use 'super' to call parent's initializeBehaviour.
protected void initializeListeners(BOT bot)
UT2004Behaviour#listenerRegistrator and calls AnnotationListenerRegistrator.addListeners()
method to probe all declared methods for event-annotation presence.
bot - protected void initializeModules(BOT bot)
bot - protected void prepareBehaviour(BOT bot)
bot - public cz.cuni.amis.pogamut.base.communication.worldview.IWorldView getWorldView()
public cz.cuni.amis.pogamut.base.communication.command.IAct getAct()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||