Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: HighScoreEntry.h
- Revision:
- 15:d8ea0c7b7e64
- Parent:
- 14:46a353b2a8e8
- Child:
- 16:d0b142ba4362
--- a/HighScoreEntry.h Tue Jun 11 21:04:48 2013 +0000 +++ b/HighScoreEntry.h Sat Jun 15 15:05:19 2013 +0000 @@ -14,6 +14,7 @@ #include "PanelControls.h" // for reading panel controls. #include "PlayerName.h" #include "Gameduino.h" + #include "FieldGrid.h" // grid around which cursor moves class HighScoreEntry { @@ -42,6 +43,14 @@ // Position of cursor (zero for first character). UInt8 cursorPos; + // Grid around which cursor moves. + FieldGrid grid; + + /*******************/ + /* INITIALISE GRID */ + /*******************/ + void InitialiseGrid( void ); + /*********************/ /* WAIT FOR CONTROLS */ /*********************/