1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package nl.tudelft.goal.ut2004.visualizer.timeline.map;
6
7 import cz.cuni.amis.pogamut.base3d.worldview.object.Location;
8
9 /**
10 * FadeLine that is used when there is not fade line.
11 * Fadeline is empty and has duration 0.
12 * <p>
13 * Use this instead of null for non-existent fade line.
14 * @author Honza
15 */
16 public class DefaultFadeLine implements IFadeLine {
17
18 @Override
19 public Location getPosition(long time) {
20 throw new UnsupportedOperationException("No location for time " + time);
21 }
22
23 @Override
24 public long getDuration() {
25 return 0;
26 }
27 }