Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

26 lignes
537B

  1. package de.hems.trafficsim;
  2. public class VehicleTimeRecord {
  3. public float getPosition() {
  4. return position;
  5. }
  6. public float getVelocity() {
  7. return velocity;
  8. }
  9. public float getTimestep() {
  10. return timestep;
  11. }
  12. protected float position;
  13. protected float velocity;
  14. protected float timestep;
  15. public VehicleTimeRecord(float position, float velocity, float timestep) {
  16. this.position = position;
  17. this.velocity = velocity;
  18. this.timestep = timestep;
  19. }
  20. }