Ransom Conant / Mbed 2 deprecated MbedPacman

Dependencies:   4DGL-uLCD-SE mbed wave_player

Fork of PacMan_Skeleton_unlock by ECE 2035 TA

Revision:
1:fbda247b843b
Parent:
0:be33a1fad8c0
--- a/pacman.h	Fri Feb 24 17:33:27 2017 +0000
+++ b/pacman.h	Thu Mar 29 05:05:51 2018 +0000
@@ -48,6 +48,15 @@
     PACMAN_STATUS status;  ///< See enum CITY_STATUS
 } PLAYER;
 
+/** Resets the score for pacman
+
+*/
+int pacman_get_x(void);
+int pacman_get_y(void);
+void pacman_add_score(int add);
+
+void pacman_reset_score(void);
+
 /** Initialize a pacman with given position. The default mostion is PACMAN_HEADING_RIGHT
     and status is PACMAN_WAIT_COMMAND. 
     @param blk_x The horizontal position in the grid.
@@ -68,7 +77,7 @@
 void pacman_set_action(PACMAN_MOTION motion);
 
 // Update the pacman's position in map
-void pacman_update_position(void);
+int pacman_update_position(int level);
 
 
 #endif
\ No newline at end of file