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: Level.h
- Revision:
- 4:673eb9735d44
- Parent:
- 2:bb0f631a6068
- Child:
- 7:e72691603fd3
--- a/Level.h Fri Jun 07 20:29:59 2013 +0000 +++ b/Level.h Sat Jun 08 11:24:05 2013 +0000 @@ -19,6 +19,8 @@ #include "StringData.h" #include "HighScoreTable.h" #include "CharFrame.h" + #include "PanelControls.h" + #include "PlayerObject.h" #if 0 #include "ArenaConst.h" #include "SpriteImageId.h" @@ -68,11 +70,9 @@ /* SET PLAYER WHO IS PLAYING THE LEVEL */ /***************************************/ // Pass pointer to player in p. -#if 0 void SetPlayer( PlayerObject *p ) { player = p; } -#endif // Enumeration of reasons why level ended. enum LevelExitCode { @@ -95,7 +95,7 @@ Gameduino *gd; // Player playing the level. - // PlayerObject *player; + PlayerObject *player; /*************/ /* PLAY LOOP */