public class UT2004BotLogicController<BOT extends UT2004Bot> extends UT2004BotController<BOT> implements IUT2004BotLogicController<BOT,LogicModule>
Modifier and Type | Field and Description |
---|---|
protected SyncUT2004BotLogic |
logicModule |
bot, log, USER_LOG_CATEGORY_ID
Constructor and Description |
---|
UT2004BotLogicController() |
Modifier and Type | Method and Description |
---|---|
void |
beforeFirstLogic() |
long |
getLogicInitializeTime() |
long |
getLogicShutdownTime() |
void |
initializeController(BOT bot)
Called during the construction of the
UT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController.prepareBot(UT2004Bot) method. |
protected void |
initializeLogic(BOT bot) |
void |
logic() |
void |
logicInitialize(LogicModule logicModule) |
void |
logicShutdown() |
botFirstSpawn, botInitialized, botKilled, botShutdown, finishControllerInitialization, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView, prepareBot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
botFirstSpawn, botInitialized, botKilled, botShutdown, finishControllerInitialization, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView, prepareBot
protected SyncUT2004BotLogic logicModule
public void initializeController(BOT bot)
IUT2004BotController
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.
initializeController
in interface IUT2004BotController<BOT extends UT2004Bot>
initializeController
in class UT2004BotController<BOT extends UT2004Bot>
protected void initializeLogic(BOT bot)
public long getLogicInitializeTime()
getLogicInitializeTime
in interface IAgentLogic<LogicModule>
public long getLogicShutdownTime()
getLogicShutdownTime
in interface IAgentLogic<LogicModule>
public void beforeFirstLogic()
beforeFirstLogic
in interface IAgentLogic<LogicModule>
public void logic()
logic
in interface IAgentLogic<LogicModule>
public void logicInitialize(LogicModule logicModule)
logicInitialize
in interface IAgentLogic<LogicModule>
public void logicShutdown()
logicShutdown
in interface IAgentLogic<LogicModule>
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.