Ransom Conant / Mbed 2 deprecated MbedPacman

Dependencies:   4DGL-uLCD-SE mbed wave_player

Fork of PacMan_Skeleton_unlock by ECE 2035 TA

Embed: (wiki syntax)

« Back to documentation index

GHOST Struct Reference

GHOST Struct Reference

This struct contains the status of a ghost. More...

#include <ghost.h>

Data Fields

unsigned int x
 horizontal position in the grid
unsigned int y
 vertical position in the grid
unsigned int color
 color of the ghost
GHOST_MOTION ghost_motion
 the motion of the ghost

Detailed Description

This struct contains the status of a ghost.

Definition at line 48 of file ghost.h.


Field Documentation

unsigned int color

color of the ghost

Definition at line 52 of file ghost.h.

the motion of the ghost

Definition at line 53 of file ghost.h.

unsigned int x

horizontal position in the grid

Definition at line 50 of file ghost.h.

unsigned int y

vertical position in the grid

Definition at line 51 of file ghost.h.