1 package org.opentrafficsim.animation.data;
2
3 import org.opentrafficsim.draw.road.CrossSectionElementAnimation.ShoulderData;
4 import org.opentrafficsim.road.network.lane.Lane;
5
6
7
8
9
10
11
12
13
14 public class AnimationShoulderData extends AnimationCrossSectionElementData<Lane> implements ShoulderData
15 {
16
17
18
19
20
21 public AnimationShoulderData(final Lane shoulder)
22 {
23 super(shoulder);
24 }
25
26
27 @Override
28 public String toString()
29 {
30 return "Shoulder " + getElement().getLink().getId() + " " + getElement().getOffsetAtBegin();
31 }
32
33 }