enum Distance {

  FAR(5, 1, 0.5f),
  MIDDLE(7, 2, 0.5f),
  NEAR(9, 3, 0.5f);

  final int size;
  final int speed;
  final float opacity;

  Distance(int size, int speed, float opacity) {
    this.size = size;
    this.speed = speed;
    this.opacity = opacity;
  }

  int getSize() {
    return size;
  }

  int getSpeed() {
    return speed;
  }

  float getOpacity() {
    return opacity;
  }
}
@@ -102,21 +102,24 @@
 nal int 
-speed
+velocity
 ;%0A  fina
@@ -161,21 +161,24 @@
 ze, int 
-speed
+velocity
 , float 
@@ -223,21 +223,27 @@
 his.
-speed = speed
+velocity = velocity
 ;%0A  
@@ -326,13 +326,16 @@
  get
-Speed
+Velocity
 () %7B
@@ -350,13 +350,16 @@
 urn 
-speed
+velocity
 ;%0A  

Rename Distance.speed to velocity