View Javadoc

1   package cz.cuni.amis.pogamut.defcon.agent;
2   
3   /**
4    * Specified a list of basic methods for Defcon controllers, which is used inside DefConAgent to
5    * report various states of initialization of the game to the controller.
6    * Equivalent to IUT2004BotController<BOT> for example in the project PogamutUT2004.
7    * @author Radek 'Black_Hand' Pibil
8    *
9    * @param <AGENT>
10   */
11  public interface IDefConAgentController<AGENT extends DefConAgent> {
12  	
13  	/**
14  	 * Called during the construction of the {@link DefConAgent}.
15  	 * 
16  	 * @param agent
17  	 */	
18  	public void initializeController(AGENT agent);	
19  
20      /**
21       * Called whenever the bot is stopped (has finished) or killed.
22       * <p><p>
23       * Use the method to save your work / data collected during the run of the agent.
24       */
25      public void botStopped();	
26  }