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

java.lang.Objectcz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController<BOT>
public class USAR2004BotController<BOT extends USAR2004Bot>
| Field Summary | |
|---|---|
protected BOT |
bot
Instance of the bot we're controlling. |
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
log
Alias for user's log. |
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
user
Deprecated. use UT2004BotController#log instead |
static String |
USER_LOG_CATEGORY_ID
Name of the log category of the user log. |
| Constructor Summary | |
|---|---|
USAR2004BotController()
|
|
| Method Summary | |
|---|---|
cz.cuni.amis.pogamut.base.communication.command.IAct |
getAct()
|
cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
getLog()
Returns user logger. |
cz.cuni.amis.pogamut.base3d.worldview.IVisionWorldView |
getWorldView()
|
void |
initializeController(BOT bot)
Called during the construction of the UT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController#prepareBot(UT2004Bot) method. |
void |
prepareBot(USAR2004Bot bot)
Called during the construction of the UT2004Bot before the GameBots2004 greets the bot. |
void |
robotInitialized(NfoMessage nfoMessage)
Called when first NFO message arrives. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String USER_LOG_CATEGORY_ID
protected BOT extends USAR2004Bot bot
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory user
UT2004BotController#log insteadLevel.ALL.
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory log
| Constructor Detail |
|---|
public USAR2004BotController()
| Method Detail |
|---|
public void initializeController(BOT bot)
IUSAR2004BotControllerUT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController#prepareBot(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 initializeController.
initializeController in interface IUSAR2004BotController<BOT extends USAR2004Bot>public void prepareBot(USAR2004Bot bot)
IUSAR2004BotControllerUT2004Bot before the GameBots2004 greets the bot.
prepareBot in interface IUSAR2004BotController<BOT extends USAR2004Bot>public void robotInitialized(NfoMessage nfoMessage)
IUSAR2004BotController
robotInitialized in interface IUSAR2004BotController<BOT extends USAR2004Bot>public cz.cuni.amis.pogamut.base3d.worldview.IVisionWorldView getWorldView()
public cz.cuni.amis.pogamut.base.communication.command.IAct getAct()
public cz.cuni.amis.pogamut.base.utils.logging.LogCategory getLog()
bot.getLogger().getCategory(USER_LOG_ID).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||