![](/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
GameObjectLocator.h
- Committer:
- RichardE
- Date:
- 2013-06-17
- Revision:
- 18:70190f956a24
- Parent:
- 4:673eb9735d44
File content as of revision 18:70190f956a24:
/* * SOURCE FILE : GameObjectLocator.h * * Code for randomly positioning objects. * */ #ifndef GameObjectLocatorIncluded #define GameObjectLocatorIncluded #include "GameObject.h" class GameObjectLocator { public : /*************************************/ /* POSITION OBJECT RANDOMLY IN ARENA */ /*************************************/ // Pass object to locate in obj. static void Locate( GameObject *obj ); private : // Indicates which quadrant to put next object in. static UInt8 quad; }; #endif /* END of GameObjectLocator.h */