Revenge of the Mouse

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

Fork of 2035_Tanks_Shell by ECE2035 Spring 2015 TA

Revision:
14:36c306e26317
Child:
21:edfeb289b21f
diff -r 22619424a52d -r 36c306e26317 Tank/tank.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Tank/tank.h	Mon Oct 26 02:58:37 2015 +0000
@@ -0,0 +1,28 @@
+#ifndef TANK_H__
+#define TANK_H__
+
+
+class Tank {
+    public:
+        int x, y;
+        int w;
+        int h;
+        int tank_color;
+        float barrel_theta;
+        int barrel_length;
+        int wheel_rad;
+        
+        
+        Tank(int sx, int sy, int width, int height, int color);
+        int min_x(void);
+        int min_y(void);
+        int max_x(void);
+        int max_y(void);
+        
+        void barrel_end(int& bx, int& by);
+        
+        void reposition(int new_x, int new_y, float new_theta);
+        void draw();
+};
+
+#endif
\ No newline at end of file