Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
49:7d172c133dbf
Parent:
48:519deb1d4dff
Child:
51:4892c9238c33
--- a/game.cpp	Thu Apr 03 06:17:32 2014 +0000
+++ b/game.cpp	Thu Apr 03 13:17:04 2014 +0000
@@ -10,6 +10,16 @@
     direction = -1;
 }
 
+void gamePlayer::resetFirst(){
+    row = 0;
+    column = 0;
+    rigOnFire=-1;
+    waveGaps[0]=-1;
+    waveGaps[1]=-1;
+    waveGaps[2]=-1;
+    direction = -1;
+}
+
 void gamePlayer::checkWaves(){
     direction = bot.gyro.getZDegrees();
     float oldWallDist;