Multi-game multiplayer arcade gaming system meant for the red X when playing Super Tic-Tac-Toe.
Dependencies: uLCD_4DGL_SE PinDetect SDFileSystem mbed wave_player
Diff: Ghost.h
- Revision:
- 1:2a7e2f5aeda4
- Parent:
- 0:218d3fb75950
- Child:
- 2:d35fde2d82cd
--- a/Ghost.h Thu Nov 26 02:58:17 2015 +0000 +++ b/Ghost.h Sat Nov 28 21:57:03 2015 +0000 @@ -13,8 +13,8 @@ class Ghost { public: // Ghost constructor - Ghost(int color, Pacman& pacman, PinDetect &ghostRight, PinDetect &ghostDown, PinDetect &ghostLeft, PinDetect &ghostUp, Stage& stage, uLCD_4DGL& uLCD) - : color(color), pacman(pacman), ghostRight(ghostRight), ghostDown(ghostDown), ghostLeft(ghostLeft), ghostUp(ghostUp), stage(stage), uLCD(uLCD) { + Ghost(int color, Pacman& pacman, PinDetect &ghostRight, PinDetect &ghostDown, PinDetect &ghostLeft, PinDetect &ghostUp, Stage& stage, uLCD_4DGL& uLCD) : + color(color), pacman(pacman), ghostRight(ghostRight), ghostDown(ghostDown), ghostLeft(ghostLeft), ghostUp(ghostUp), stage(stage), uLCD(uLCD) { // Use internal pullups ghostRight.mode(PullUp); ghostDown.mode(PullUp);