View Javadoc

1   package cz.cuni.amis.pogamut.udk.bot.impl;
2   
3   import cz.cuni.amis.pogamut.base.agent.module.LogicModule;
4   import cz.cuni.amis.pogamut.base.utils.guice.AgentScoped;
5   import cz.cuni.amis.pogamut.udk.agent.module.logic.SyncUDKBotLogic;
6   import cz.cuni.amis.pogamut.udk.bot.IUDKBotLogicController;
7   
8   @AgentScoped
9   public class UDKBotLogicController<BOT extends UDKBot> extends UDKBotController<BOT> implements IUDKBotLogicController<BOT, LogicModule>{
10  
11  	protected SyncUDKBotLogic logicModule;
12  	
13  	@Override
14  	public void initializeController(BOT bot) {
15  		super.initializeController(bot);
16  		logicModule = new SyncUDKBotLogic(bot, this);	
17  	}
18  	
19  	@Override
20  	public long getLogicInitializeTime() {
21  		return 120000;
22  	}
23  
24  	@Override
25  	public long getLogicShutdownTime() {
26  		return 120000;
27  	}
28  	
29  	@Override
30  	public void beforeFirstLogic() {
31  	}
32  
33  	@Override
34  	public void logic() {
35  	}
36  
37  	@Override
38  	public void logicInitialize(LogicModule logicModule) {		
39  	}
40  
41  	@Override
42  	public void logicShutdown() {
43  	}
44  	
45  }