pocket tanks

Dependencies:   4DGL-uLCD-SE pockettanks SDFileSystem mbed wave_player

Fork of ECE2035_FroggerGame_SUM1025 by Le Tran

Revision:
1:172fbc00199c
Parent:
0:7fe3c940e4b5
--- a/map/map_public.h	Thu Jun 25 14:35:52 2015 +0000
+++ b/map/map_public.h	Sun Oct 04 22:05:25 2015 +0000
@@ -53,13 +53,15 @@
     @param grid_y The vertical position in the grid.
     @return 1:There is a cookie be eaten. 0:The is no cookie at the grid.
 */
-bool map_eat_candy(int grid_x, int grid_y);
+bool map_eat_candy(int grid_x, int grid_y, double& score);
 
 /** Get the information about the grid
     @param grid_x The horizontal position in the grid.
     @param grid_y The vertical position in the grid.
     @return The data structure of the grid. You could access the contents by using the_grid.x , the_grid.status ... etc.
 */
+bool map_the_end(int grid_x, int grid_y);
+
 GRID map_get_grid_status(int grid_x, int grid_y);
 
 /** Draw the grid
@@ -72,6 +74,6 @@
     @brief The game should be ended when there is no cookie.
     @return The number of remaining cookie.
 */
-int  map_remaining_candy(void);
+int map_remaining_candy(void);
 
 #endif //MAP_H
\ No newline at end of file