![](/media/cache/profiles/859bf1416b8b8761c5d588dee78dc65f.50x50_q85.jpg)
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
GameObjectTypes.h@18:70190f956a24, 2013-06-17 (annotated)
- Committer:
- RichardE
- Date:
- Mon Jun 17 15:10:43 2013 +0000
- Revision:
- 18:70190f956a24
- Parent:
- 4:673eb9735d44
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 4:673eb9735d44 | 1 | /* |
RichardE | 4:673eb9735d44 | 2 | * SOURCE FILE : GameObjectTypes.h |
RichardE | 4:673eb9735d44 | 3 | * |
RichardE | 4:673eb9735d44 | 4 | * Enumeration of all the game object types. |
RichardE | 4:673eb9735d44 | 5 | * |
RichardE | 4:673eb9735d44 | 6 | */ |
RichardE | 4:673eb9735d44 | 7 | |
RichardE | 4:673eb9735d44 | 8 | #ifndef GameObjectTypesIncluded |
RichardE | 4:673eb9735d44 | 9 | |
RichardE | 4:673eb9735d44 | 10 | #define GameObjectTypesIncluded |
RichardE | 4:673eb9735d44 | 11 | |
RichardE | 4:673eb9735d44 | 12 | // Note that different kinds of enemies can be distinguished using the EnemyType enumeration. |
RichardE | 4:673eb9735d44 | 13 | |
RichardE | 4:673eb9735d44 | 14 | enum GameObjectTypes { |
RichardE | 4:673eb9735d44 | 15 | PlayerObjectType, |
RichardE | 4:673eb9735d44 | 16 | BulletObjectType, |
RichardE | 4:673eb9735d44 | 17 | ExplosionObjectType, |
RichardE | 4:673eb9735d44 | 18 | EnemyObjectType, |
RichardE | 4:673eb9735d44 | 19 | HumanObjectType, |
RichardE | 4:673eb9735d44 | 20 | FiftyObjectType, |
RichardE | 4:673eb9735d44 | 21 | StarObjectType, |
RichardE | 4:673eb9735d44 | 22 | }; |
RichardE | 4:673eb9735d44 | 23 | |
RichardE | 4:673eb9735d44 | 24 | #endif |
RichardE | 4:673eb9735d44 | 25 | |
RichardE | 4:673eb9735d44 | 26 | /* END of GameObjectTypes.h */ |
RichardE | 4:673eb9735d44 | 27 |