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
game.cpp
- Committer:
- sswatek
- Date:
- 2014-03-22
- Revision:
- 32:ff71f61bb9f6
- Child:
- 33:03b0b66038e1
File content as of revision 32:ff71f61bb9f6:
#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(); }