![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pocket tanks
Dependencies: 4DGL-uLCD-SE pockettanks SDFileSystem mbed wave_player
Fork of ECE2035_FroggerGame_SUM1025 by
robot/robot.h@3:8f68c00dd75a, 2015-10-22 (annotated)
- Committer:
- ece2035ta
- Date:
- Thu Oct 22 03:47:32 2015 +0000
- Revision:
- 3:8f68c00dd75a
- Parent:
- 1:172fbc00199c
hi
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
leuyentran | 0:7fe3c940e4b5 | 1 | #ifndef ROBOT_H |
leuyentran | 0:7fe3c940e4b5 | 2 | #define ROBOT_H |
leuyentran | 0:7fe3c940e4b5 | 3 | |
ece2035ta | 1:172fbc00199c | 4 | void robot_init(int grid_x, int grid_y, double&score, bool&end); |
ece2035ta | 3:8f68c00dd75a | 5 | void robot_init1(int grid_a, int grid_b, double&score, bool&end); |
leuyentran | 0:7fe3c940e4b5 | 6 | void robot_draw(int grid_x, int grid_y); |
ece2035ta | 3:8f68c00dd75a | 7 | void robot_draw1(int grid_a, int grid_b); |
leuyentran | 0:7fe3c940e4b5 | 8 | void robot_clear(int grid_x, int grid_y); |
ece2035ta | 3:8f68c00dd75a | 9 | void robot_clear1(int grid_a, int grid_b); |
ece2035ta | 3:8f68c00dd75a | 10 | void robot_shoot(int grid_x,int grid_y, int p); |
ece2035ta | 3:8f68c00dd75a | 11 | |
ece2035ta | 3:8f68c00dd75a | 12 | //Initialize struct with variables you want to update |
ece2035ta | 3:8f68c00dd75a | 13 | |
ece2035ta | 3:8f68c00dd75a | 14 | struct Tank |
ece2035ta | 3:8f68c00dd75a | 15 | { int tank_x; |
ece2035ta | 3:8f68c00dd75a | 16 | int tank_y; |
ece2035ta | 3:8f68c00dd75a | 17 | }; |
leuyentran | 0:7fe3c940e4b5 | 18 | |
leuyentran | 0:7fe3c940e4b5 | 19 | #endif |