package de.hems.trafficsim; public class VehicleTimeRecord { public float getPosition() { return position; } public float getVelocity() { return velocity; } protected int id; protected float position; protected float velocity; public VehicleTimeRecord(int id, float position, float velocity) { this.id = id; this.position = position; //needed??? this.velocity = velocity; } }