change datatype of timestep from int to float

This commit is contained in:
Waetschker Daniel (uib17511) 2020-10-29 13:54:39 +01:00
parent b2bc60394a
commit 58054d6eea

View File

@ -16,9 +16,9 @@ public class VehicleTimeRecord {
protected int id; protected int id;
protected float position; protected float position;
protected float velocity; protected float velocity;
protected int timestep; protected float timestep;
public VehicleTimeRecord(int id, float position, float velocity, int timestep) { public VehicleTimeRecord(int id, float position, float velocity, float timestep) {
this.id = id; this.id = id;
this.position = position; //needed??? this.position = position; //needed???
this.velocity = velocity; this.velocity = velocity;