![](/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
SpriteNumber.h
- Committer:
- RichardE
- Date:
- 2013-06-17
- Revision:
- 18:70190f956a24
- Parent:
- 8:82d88f9381f3
File content as of revision 18:70190f956a24:
/* * SOURCE FILE : SpriteNumber.h * * Enumeration containing sprite numbers. * Note that these are sprite numbers, NOT sprite image numbers. * Each sprite can have any sprite image number it wants. * */ #ifndef SpriteNumberDefined #define SpriteNumberDefined #include "LevelData.h" #include "ExplosionManager.h" enum SpriteNumber { FirstEnemySprite = 0, FirstHumanSprite = FirstEnemySprite + LevelData::MaxEnemies, PlayerSprite = FirstHumanSprite + LevelData::MaxHumans, FirstExplosionSprite = PlayerSprite + 1, NextFreeSprite = FirstExplosionSprite + ExplosionManager::MaxExplosions, }; #endif /* END of SpriteNumber.h */