Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of IEEE_14_Freescale by
Diff: game.cpp
- 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
