1
2 package nl.tudelft.goal.ut2004.visualizer.timeline.map;
3
4 import cz.cuni.amis.pogamut.base3d.worldview.object.Location;
5
6
7 /**
8 * Interface for fade line of an agent in the map.
9 *
10 * @author Honza
11 */
12 public interface IFadeLine {
13 /**
14 * Get position where was fadeline
15 * @param time how long in past do we want to know the position (higher number = longer in past)
16 * @return Position of fade line at specified time in past
17 */
18 public Location getPosition(long time);
19
20 /**
21 * Fade line is not of infinite length. How big interval does it represents?
22 *
23 * @return What time duration does fade line represents, in ms
24 */
25 public long getDuration();
26 }