public interface TrafficLight extends nl.tudelft.simulation.dsol.animation.Locatable, LaneBasedObject
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
String |
getId()
Return the id of the traffic light.
|
TrafficLightColor |
getTrafficLightColor() |
void |
setTrafficLightColor(TrafficLightColor trafficLightColor)
Set the new traffic light color.
|
getBounds, getLane, getLocation, getLongitudinalPosition, makeGeometry
TrafficLightColor getTrafficLightColor()
void setTrafficLightColor(TrafficLightColor trafficLightColor)
trafficLightColor
- set the trafficLightColorString getId()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.