Multi-game multiplayer arcade gaming system meant for the blue O when playing Super Tic-Tac-Toe.
Dependencies: 4DGL-uLCD-SE PinDetect SDFileSystem mbed wave_player
Diff: Ghost.h
- Revision:
- 1:2a7e2f5aeda4
- Parent:
- 0:218d3fb75950
- Child:
- 2:da0f01fbd25c
diff -r 218d3fb75950 -r 2a7e2f5aeda4 Ghost.h --- 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);