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/ghost.h	Fri Feb 24 17:33:27 2017 +0000
+++ b/ghost.h	Thu Mar 29 05:05:51 2018 +0000
@@ -53,7 +53,7 @@
     GHOST_MOTION ghost_motion;  ///< the motion of the ghost  
 } GHOST;
 
-//Initialize an empety doublely linked list
+//Initialize an empty doublely linked list
 void ghost_init(void);
 
 /** Create a ghost with given position and color. Then add to the ghost doublely linked list
@@ -75,6 +75,8 @@
 */
 DLinkedList* get_ghost_list(void);
 
+int ghost_collision(DLinkedList* list, int x, int y, int invuln);
+
 
 /** Extra Feature Function:
     Create a super ghost with given position and color. Then add to the super ghost doublely linked list