View Javadoc

1   package cz.cuni.amis.pogamut.unreal.agent.navigation;
2   
3   import cz.cuni.amis.pogamut.base.agent.navigation.IPathExecutor;
4   import cz.cuni.amis.pogamut.base3d.worldview.object.ILocated;
5   
6   /**
7    * UT2004 path executer adding a possibility to provide focus during the 
8    * @author Jimmy
9    *
10   * @param <PATH_ELEMENT>
11   */
12  public interface IUnrealPathExecutor<PATH_ELEMENT extends ILocated> extends IPathExecutor<PATH_ELEMENT> {
13  	
14  	/**
15  	 * Allows you to set focus during the path-execution, i.e., tell the bot where it should be looking.
16  	 * You may set this focus multiple times during the whole run.
17  	 * <p><p>
18  	 * Note that the focus once set is never overridden by the path executer. So if you want to reset it back to the
19  	 * default focus, set the focus to 'null'.
20  	 * 
21  	 * @param located
22  	 */
23  	public void setFocus(ILocated located);
24  	
25  	/**
26  	 * Return current focus of the bot, null means "default" provided by the path executor.
27  	 * @return
28  	 */
29  	public ILocated getFocus();
30  
31  }