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: Level0.h
- Revision:
- 1:dfd5eaaf96a3
- Parent:
- 0:5fa232ee5fdf
--- a/Level0.h Tue Jun 04 20:16:33 2013 +0000 +++ b/Level0.h Wed Jun 05 22:05:41 2013 +0000 @@ -1,55 +1,56 @@ -/* - * SOURCE FILE : Level0.h - * - * Definition of class Level0. - * - */ - -#ifndef Level0Defined - - #define Level0Defined - - #include "Level.h" - - class Level0 : public Level { - - public : - - /***************/ - /* CONSTRUCTOR */ - /***************/ - Level0(); - - /**************/ - /* DESTRUCTOR */ - /**************/ - virtual ~Level0(); - - /**************/ - /* PLAY LEVEL */ - /**************/ - // Returns code indicating how level ended. - virtual LevelExitCode Play( void ); - - protected : - - /********************/ - /* DRAW HIGH SCORES */ - /********************/ - void DrawHighScores( void ); - - /*************/ - /* PLAY LOOP */ - /*************/ - // Returns code indicating how level ended. - // This method should be called from the Play method after the - // level data has been initialised and the return value returned - // by the Play method. - LevelExitCode PlayLoop( void ); - - }; - -#endif - -/* END of Level0.h */ +/* + * SOURCE FILE : Level0.h + * + * Definition of class Level0. + * + */ + +#ifndef Level0Defined + + #define Level0Defined + + #include "Level.h" + + class Level0 : public Level { + + public : + + /***************/ + /* CONSTRUCTOR */ + /***************/ + Level0(); + + /**************/ + /* DESTRUCTOR */ + /**************/ + virtual ~Level0(); + /**************/ + /* PLAY LEVEL */ + /**************/ + // Returns code indicating how level ended. + virtual LevelExitCode Play( void ); + + protected : + + /********************/ + /* DRAW HIGH SCORES */ + /********************/ + void DrawHighScores( void ); + + /*************/ + /* PLAY LOOP */ + /*************/ + // Returns code indicating how level ended. + // This method should be called from the Play method after the + // level data has been initialised and the return value returned + // by the Play method. + virtual LevelExitCode PlayLoop( void ); + + }; + +#endif + +/* END of Level0.h */ + +