pocket tanks
Dependencies: 4DGL-uLCD-SE pockettanks SDFileSystem mbed wave_player
Fork of ECE2035_FroggerGame_SUM1025 by
Diff: robot/robot.h
- Revision:
- 3:8f68c00dd75a
- Parent:
- 1:172fbc00199c
--- a/robot/robot.h Sun Oct 04 22:06:38 2015 +0000 +++ b/robot/robot.h Thu Oct 22 03:47:32 2015 +0000 @@ -2,7 +2,18 @@ #define ROBOT_H void robot_init(int grid_x, int grid_y, double&score, bool&end); +void robot_init1(int grid_a, int grid_b, double&score, bool&end); void robot_draw(int grid_x, int grid_y); +void robot_draw1(int grid_a, int grid_b); void robot_clear(int grid_x, int grid_y); +void robot_clear1(int grid_a, int grid_b); +void robot_shoot(int grid_x,int grid_y, int p); + +//Initialize struct with variables you want to update + +struct Tank +{ int tank_x; + int tank_y; +}; #endif \ No newline at end of file