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