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: LevelData.h
- Revision:
- 8:82d88f9381f3
- Parent:
- 5:0b0651ac7832
- Child:
- 10:bfa1c307c99d
--- a/LevelData.h Sat Jun 08 16:44:54 2013 +0000 +++ b/LevelData.h Sat Jun 08 17:51:33 2013 +0000 @@ -10,9 +10,9 @@ #define LevelDataDefined #include "GameObject.h" - // #include "EnemyObject.h" - // #include "HumanObject.h" - // #include "MutantObject.h" + #include "EnemyObject.h" + #include "HumanObject.h" + #include "MutantObject.h" class LevelData { @@ -21,7 +21,7 @@ enum { MaxEnemies = 64, // Maximum number of enemies you can have in a level MaxHumans = 24, // maximum number of humans you can have in a level - MaxMutants = MaxHumans, // Maximum number of mutant humans you can have in a level + MaxMutants = MaxHumans, // Maximum number of mutant humans you can have in a level }; // Array containing pointers to all the enemies in a level. @@ -35,7 +35,7 @@ // Array containing mutant humans (NOT pointers to mutants). // Pointer to the mutants in this array are written into the Enemies array // whenever a human is mutated by a brain. - // MutantObject Mutants[ MaxMutants ]; + MutantObject Mutants[ MaxMutants ]; /***************/ /* CONSTRUCTOR */