- timeElapse()
- Method in class de.hems.trafficsim.Track
-
Calculates on simulation step ahead and then waits for the configured
wait time.
- timeElapse()
- Method in class de.hems.trafficsim.Vehicle
-
Updates the position of the vehicle according to it's previously
calculated speed.
- TimeRecordView - Class in de.hems.trafficsim
-
A Surface View which servers as a stage for a renderer.
- TimeRecordView(Context, Track)
- Constructor for class de.hems.trafficsim.TimeRecordView
-
- tooShortPerHeight
- Variable in class de.hems.trafficsim.Renderer
-
amount of pixels per height which are lost by rounding
- tooShortPerTrackLength
- Variable in class de.hems.trafficsim.Renderer
-
amount of pixels per track position which are lost by rounding
- track
- Variable in class de.hems.trafficsim.MainActivity
-
the track to show in the activity
- track - Variable in
class de.hems.trafficsim.Renderer
-
the track to render
- Track - Class in de.hems.trafficsim
-
Main model class of TrafficSim.
- Track(int, float, float, float, int, int)
- Constructor for class de.hems.trafficsim.Track
-
Constructor for a new Track.
- track
- Variable in class de.hems.trafficsim.Worker
-
the track to simulate
- trackLength
- Variable in class de.hems.trafficsim.Track
-
length of the track
- trackLength
- Variable in class de.hems.trafficsim.Vehicle
-
length of the track the vehicle is placed on
- trackView -
Variable in class de.hems.trafficsim.MainActivity
-
the surface view on which the renderer draws the track history