|
12345678910111213141516171819202122232425 |
- package de.hems.trafficsim;
-
- public class VehicleTimeRecord {
- public float getPosition() {
- return position;
- }
-
- public float getVelocity() {
- return velocity;
- }
-
- public float getTimestep() {
- return timestep;
- }
-
- protected float position;
- protected float velocity;
- protected float timestep;
-
- public VehicleTimeRecord(float position, float velocity, float timestep) {
- this.position = position;
- this.velocity = velocity;
- this.timestep = timestep;
- }
- }
|