View Javadoc

1   package cz.cuni.amis.pogamut.defcon.agent;
2   
3   import java.util.Map;
4   
5   import cz.cuni.amis.pogamut.base.agent.IEmbodiedAgent;
6   import cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand;
7   
8   /**
9    * Sets some basic methods for DefConAgent.
10   * @author Radek 'Black_Hand' Pibil
11   */
12  public interface IDefConAgent 
13  		extends IEmbodiedAgent {
14  	
15  	/**
16  	 * Returns the list of command line arguments passed to defcon.
17  	 * @return
18  	 */
19  	public Map<String, String> getArguments();
20  
21  	/**
22  	 * Sets the list of command line arguments passed to defcon.
23  	 * @param arguments
24  	 */
25  	public void setOptions(Map<String, String> arguments);
26  	
27      ////////  
28      //
29      // BOT CONTROL METHODS
30      //
31      ////////
32  
33  	/**
34  	 * Simplifies access to IAct. No need to use getAct().act().
35  	 */
36      public void act(DefConCommand command);
37  }