cz.cuni.amis.pogamut.udk.bot.impl
Class UDKBotLogicController<BOT extends UDKBot>

Package class diagram package UDKBotLogicController
java.lang.Object
  extended by cz.cuni.amis.pogamut.udk.bot.impl.UDKBotController<BOT>
      extended by cz.cuni.amis.pogamut.udk.bot.impl.UDKBotLogicController<BOT>
All Implemented Interfaces:
IAgentLogic<LogicModule>, IUDKBotController<BOT>, IUDKBotLogicController<BOT,LogicModule>
Direct Known Subclasses:
UDKBotModuleController

public class UDKBotLogicController<BOT extends UDKBot>
extends UDKBotController<BOT>
implements IUDKBotLogicController<BOT,LogicModule>


Field Summary
protected  SyncUDKBotLogic logicModule
           
 
Fields inherited from class cz.cuni.amis.pogamut.udk.bot.impl.UDKBotController
bot, user, USER_LOG_CATEGORY_ID
 
Constructor Summary
UDKBotLogicController()
           
 
Method Summary
 void beforeFirstLogic()
           
 long getLogicInitializeTime()
           
 long getLogicShutdownTime()
           
 void initializeController(BOT bot)
          Called during the construction of the UDKBot before the GameBots2004 greets the bot even before IUDKBotController.prepareBot(UDKBot) method.
 void logic()
           
 void logicInitialize(LogicModule logicModule)
           
 void logicShutdown()
           
 
Methods inherited from class cz.cuni.amis.pogamut.udk.bot.impl.UDKBotController
botInitialized, botKilled, botShutdown, botSpawned, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView, 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.udk.bot.IUDKBotController
botInitialized, botKilled, botShutdown, botSpawned, getInitializeCommand, getPassword, prepareBot
 

Field Detail

logicModule

protected SyncUDKBotLogic logicModule
Constructor Detail

UDKBotLogicController

public UDKBotLogicController()
Method Detail

initializeController

public void initializeController(BOT bot)
Description copied from interface: IUDKBotController
Called during the construction of the UDKBot before the GameBots2004 greets the bot even before IUDKBotController.prepareBot(UDKBot) 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 IUDKBotController<BOT extends UDKBot>
Overrides:
initializeController in class UDKBotController<BOT extends UDKBot>

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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.