Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
32:ff71f61bb9f6
Child:
33:03b0b66038e1
diff -r 4ef53fbd6759 -r ff71f61bb9f6 game.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/game.cpp	Sat Mar 22 20:17:29 2014 +0000
@@ -0,0 +1,17 @@
+#include "game.h"
+
+gamePlayer::gamePlayer(robot &botIn) : bot(botIn){
+    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 wallDist = bot.pingLeft.getStablePoll();
+    
+}
\ No newline at end of file