ソースを参照

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;


読み込み中…
キャンセル
保存