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: CharFrame.h
- Revision:
- 2:bb0f631a6068
- Child:
- 16:d0b142ba4362
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CharFrame.h Thu Jun 06 20:11:28 2013 +0000 @@ -0,0 +1,34 @@ +/* + * SOURCE FILE : CharFrame.h + * + * For drawing rectangular frames using characters. + * + */ + +#ifndef CharFrameIncluded + + #define CharFrameIncluded + + #include "Types.h" // various types + #include "Gameduino.h" // Gameduino stuff + + class CharFrame { + + public : + + /****************/ + /* DRAW A FRAME */ + /****************/ + // Pass Gameduino to draw on in gd. + // Pass x coordinate of top left in x. + // Pass y coordinate of top left in y. + // Pass width in w. + // Pass height in h. + static void Draw( Gameduino *gd, UInt8 x, UInt8 y, UInt8 w, UInt8 h ); + + }; + +#endif + +/* END of CharFrame.h */ +