1
0
TrafficSim/app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java
Loch Christian (uib05376) 09d4c45ff0 Implement view history
2020-11-04 16:47:15 +01:00

28 Zeilen
607 B
Java

package de.hems.trafficsim;
public class VehicleTimeRecord {
protected int id;
protected float position;
protected float velocity;
protected float maxVelocity;
public float getMaxVelocity() {
return maxVelocity;
}
public float getPosition() {
return position;
}
public float getVelocity() {
return velocity;
}
public VehicleTimeRecord(int id, float position, float velocity, float maxVelocity) {
this.id = id;
this.position = position;
this.velocity = velocity;
this.maxVelocity = maxVelocity;
}
}