Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed wave_player
Fork of PacMan_Skeleton_unlock by
Diff: ghost.h
- 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
