Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
98:07a8a858e7cd
Parent:
95:5afdfe17300f
Child:
99:78d87027c85b
--- a/source/IRSensor.cpp	Wed May 03 06:49:17 2017 +0000
+++ b/source/IRSensor.cpp	Wed May 03 06:59:34 2017 +0000
@@ -75,7 +75,7 @@
  * @return the distance, given in [m].
  */
 
-float IRSensor::read_dist()
+float IRSensor::read()
 {
     float d = 0;
     switch (number) {
@@ -110,5 +110,5 @@
  */
 IRSensor::operator float()
 {
-    return read_dist();
+    return read();
 }