cz.cuni.amis.pogamut.ut2004.bot.impl
Class UT2004BotLogicController<BOT extends UT2004Bot>
java.lang.Object
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<BOT>
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController<BOT>
- All Implemented Interfaces:
- IAgentLogic<LogicModule>, IUT2004BotController<BOT>, IUT2004BotLogicController<BOT,LogicModule>
- Direct Known Subclasses:
- UT2004BotModuleController
public class UT2004BotLogicController<BOT extends UT2004Bot>
- extends UT2004BotController<BOT>
- implements IUT2004BotLogicController<BOT,LogicModule>
Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
botFirstSpawn, botInitialized, botKilled, botShutdown, finishControllerInitialization, getAct, getBot, getInitializeCommand, getLog, getName, getPassword, getWorldView, mapInfoObtained, prepareBot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController |
botFirstSpawn, botInitialized, botKilled, botShutdown, finishControllerInitialization, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView, mapInfoObtained, prepareBot |
logicModule
protected SyncUT2004BotLogic logicModule
UT2004BotLogicController
public UT2004BotLogicController()
initializeController
public void initializeController(BOT bot)
- Description copied from interface:
IUT2004BotController
- Called during the construction of the
UT2004Bot
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.
- Specified by:
initializeController
in interface IUT2004BotController<BOT extends UT2004Bot>
- Overrides:
initializeController
in class UT2004BotController<BOT extends UT2004Bot>
initializeLogic
protected void initializeLogic(BOT bot)
getLogicInitializeTime
public long getLogicInitializeTime()
- Specified by:
getLogicInitializeTime
in interface IAgentLogic<LogicModule>
getLogicShutdownTime
public long getLogicShutdownTime()
- Specified by:
getLogicShutdownTime
in interface IAgentLogic<LogicModule>
beforeFirstLogic
public void beforeFirstLogic()
- Specified by:
beforeFirstLogic
in interface IAgentLogic<LogicModule>
logic
public void logic()
- Specified by:
logic
in interface IAgentLogic<LogicModule>
logicInitialize
public void logicInitialize(LogicModule logicModule)
- Specified by:
logicInitialize
in interface IAgentLogic<LogicModule>
logicShutdown
public void logicShutdown()
- Specified by:
logicShutdown
in interface IAgentLogic<LogicModule>
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.