The classic dueling tanks game for mbed.

Dependencies:   4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player

Fork of 2035_Tanks_Shell by ECE2035 Spring 2015 TA

Revision:
22:3c68eea5a609
Parent:
21:edfeb289b21f
Child:
23:77049670cae6
--- a/Tank/tank.h	Thu Oct 29 03:56:30 2015 +0000
+++ b/Tank/tank.h	Thu Oct 29 05:14:49 2015 +0000
@@ -25,7 +25,7 @@
         int max_y(void);
         
         // Calculate the position of the end of the barrel.
-        void barrel_end(int& bx, int& by);
+        void barrel_end(int* bx, int* by);
         
         // Reposition the tank!
         void reposition(int dx, int dy, float dtheta);