cz.cuni.amis.pogamut.ut2004.bot.impl
Class UT2004BotLogicController<BOT extends UT2004Bot>

Package class diagram package UT2004BotLogicController
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<BOT>
      extended by 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>


Field Summary
protected  SyncUT2004BotLogic logicModule
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController
bot, log, USER_LOG_CATEGORY_ID
 
Constructor Summary
UT2004BotLogicController()
           
 
Method Summary
 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()
           
 
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
 

Field Detail

logicModule

protected SyncUT2004BotLogic logicModule
Constructor Detail

UT2004BotLogicController

public UT2004BotLogicController()
Method Detail

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.