View Javadoc

1   package cz.cuni.amis.pogamut.base.agent.module;
2   
3   import java.util.logging.Logger;
4   
5   import cz.cuni.amis.pogamut.base.agent.IEmbodiedAgent;
6   import cz.cuni.amis.pogamut.base.communication.command.IAct;
7   import cz.cuni.amis.pogamut.base.communication.worldview.IWorldView;
8   import cz.cuni.amis.pogamut.base.component.controller.ComponentDependencies;
9   
10  public class SensomotoricModule<AGENT extends IEmbodiedAgent> extends AgentModule<AGENT> {
11  
12  	protected final IWorldView worldView;
13  	protected final IAct act;
14  
15  	public SensomotoricModule(AGENT agent) {
16  		this(agent, null);
17  	}
18  	
19  	public SensomotoricModule(AGENT agent, Logger log) {
20  		this(agent, log, null);
21  	}
22  	
23  	public SensomotoricModule(AGENT agent, Logger log, ComponentDependencies dependencies) {
24  		super(agent, log, dependencies);
25  		this.worldView = agent.getWorldView();
26  		this.act = agent.getAct();
27  	}
28  	
29  }