change datatype of timestep from int to float
This commit is contained in:
父節點
b2bc60394a
當前提交
58054d6eea
@ -16,9 +16,9 @@ public class VehicleTimeRecord {
|
||||
protected int id;
|
||||
protected float position;
|
||||
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.position = position; //needed???
|
||||
this.velocity = velocity;
|
||||
|
載入中…
新增問題並參考
Block a user