public class Submarine extends USAR2004BotLogicController<USAR2004Bot>
logicModulebot, log, user, USER_LOG_CATEGORY_ID| Constructor and Description |
|---|
Submarine() |
| Modifier and Type | Method and Description |
|---|---|
void |
initializeController(USAR2004Bot bot)
Called during the construction of the
UT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController#prepareBot(UT2004Bot) method. |
void |
logic()
this method is triggered by receipt of STA message.
|
static void |
main(String[] args) |
void |
prepareBot(USAR2004Bot bot)
Initialization of modules used within this robot.
|
void |
robotInitialized(NfoMessage nfom)
Method triggered after Game is initialized and STARTPOSES obtained.
|
beforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, logicInitialize, logicShutdowngetAct, getLog, getWorldViewpublic void robotInitialized(NfoMessage nfom)
robotInitialized in interface IUSAR2004BotController<USAR2004Bot>robotInitialized in class USAR2004BotController<USAR2004Bot>nfom - NfoMessge containing STARTPOSESpublic void initializeController(USAR2004Bot 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<USAR2004Bot>initializeController in class USAR2004BotLogicController<USAR2004Bot>public void logic()
throws cz.cuni.amis.utils.exception.PogamutException
logic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>logic in class USAR2004BotLogicController<USAR2004Bot>cz.cuni.amis.utils.exception.PogamutExceptionpublic void prepareBot(USAR2004Bot bot)
prepareBot in interface IUSAR2004BotController<USAR2004Bot>prepareBot in class USAR2004BotController<USAR2004Bot>bot - Necessary parameter for hooking listeners and for sending
commandspublic static void main(String[] args)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.