Kaynağa Gözat

change datatype of timestep from int to float

tags/Release_1
Waetschker Daniel (uib17511) 3 yıl önce
ebeveyn
işleme
58054d6eea
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java

+ 2
- 2
app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet