瀏覽代碼

change datatype of timestep from int to float

tags/Release_1
Waetschker Daniel (uib17511) 3 年之前
父節點
當前提交
58054d6eea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java

+ 2
- 2
app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java 查看文件

@@ -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;


Loading…
取消
儲存