Class StaticTrafficLight
-
- All Implemented Interfaces:
public final class StaticTrafficLightData class for static traffic lights.
-
-
Method Summary
Modifier and Type Method Description final IntegergetId()The identifier of the traffic light. final UnitsetId(Integer id)The identifier of the traffic light. final LocationgetLocation()The Location of the traffic light. final RotationgetRotation()The Rotation of the traffic light. final List<Location>getStopLocations()List of stop locations as Locations. final TrafficLightStategetStateInTick(TickData tickData)Returns TrafficLightState from TickData. StringtoString()-
-
Method Detail
-
getLocation
final Location getLocation()
The Location of the traffic light.
-
getRotation
final Rotation getRotation()
The Rotation of the traffic light.
-
getStopLocations
final List<Location> getStopLocations()
List of stop locations as Locations.
-
getStateInTick
final TrafficLightState getStateInTick(TickData tickData)
Returns TrafficLightState from TickData.
-
-
-
-