This is the Mexican Standoff prototype made by Francisco Martin and Andrew Smith. Please refer to the following link for instructions on hardware hookup: https://developer.mbed.org/users/fomartin/notebook/mexican-standoff-reaction-game/
Dependencies: SDFileSystem mbed-rtos mbed wave_player 4DGL-uLCD-SE PinDetect
Diff: States/States.h
- Revision:
- 1:4976bbb3376f
- Parent:
- 0:75716bd37804
--- a/States/States.h Mon Mar 14 03:04:08 2016 +0000 +++ b/States/States.h Mon Mar 14 16:19:47 2016 +0000 @@ -5,16 +5,17 @@ #include "music.h" #include "SDFileSystem.h" +//this file includes the header data for all of the classes that represent the states that the game can +//be in: namely the main menu (Startup), the Rules page, Gameplay, and Game Over + class Startup { public: //CONSTRUCTOR Startup(uLCD_4DGL &uLCD, PinDetect &upButton, PinDetect &downButton, PinDetect &leftButton, PinDetect &rightButton); - //MEMBER FUNCTIONS int select(uLCD_4DGL &uLCD, PinDetect &upButton, PinDetect &downButton, PinDetect &leftButton, PinDetect &rightButton, Music &music); - void scores(uLCD_4DGL &uLCD, SDFileSystem &sd); private: int option;