Class AnimationTrafficLightData
java.lang.Object
org.opentrafficsim.animation.data.AnimationLaneBasedObjectData<TrafficLight>
org.opentrafficsim.animation.data.AnimationTrafficLightData
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.Locatable
,org.djutils.base.Identifiable
,org.opentrafficsim.base.geometry.OtsLocatable
,AbstractLineAnimation.LaneBasedObjectData
,TrafficLightAnimation.TrafficLightData
public class AnimationTrafficLightData
extends AnimationLaneBasedObjectData<TrafficLight>
implements TrafficLightAnimation.TrafficLightData
Animation data of a TrafficLight.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opentrafficsim.animation.data.AnimationLaneBasedObjectData
getBounds, getId, getLaneWidth, getLocation, getObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
getLaneWidth, getLocation, getZ
Methods inherited from interface org.djutils.base.Identifiable
getId
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getBounds
-
Constructor Details
-
AnimationTrafficLightData
Constructor.- Parameters:
trafficLight
- TrafficLight; traffic light.
-
-
Method Details
-
getColor
- Specified by:
getColor
in interfaceTrafficLightAnimation.TrafficLightData
-
toString
-