Class Pedestrian
-
- All Implemented Interfaces:
-
tools.aqua.stars.core.types.EntityType
public final class Pedestrian extends Actor
Data class for pedestrians.
-
-
Constructor Summary
Constructors Constructor Description Pedestrian(Integer id, TickData tickData, Double positionOnLane, Lane lane)
-
Method Summary
Modifier and Type Method Description IntegergetId()The identifier of the pedestrian. TickDatagetTickData()TickData. final DoublegetPositionOnLane()The Pedestrian's position on the Lane. final LanegetLane()The Pedestrian's Lane. Actorclone(TickData newTickData)Clones the actor. StringtoString()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getTickData
TickData getTickData()
-
getPositionOnLane
final Double getPositionOnLane()
The Pedestrian's position on the Lane.
-
getLane
final Lane getLane()
The Pedestrian's Lane.
-
clone
Actor clone(TickData newTickData)
Clones the actor.
- Parameters:
newTickData- New TickData to copy to new object.
-
-
-
-