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
Int16Pair.h
- Committer:
- RichardE
- Date:
- 2013-06-17
- Revision:
- 18:70190f956a24
- Parent:
- 4:673eb9735d44
File content as of revision 18:70190f956a24:
/* * SOURCE FILE : Int16Pair.h * * Pair of Int16s in a class. * */ #ifndef Int16PairIncluded #define Int16PairIncluded #include "Types.h" class Int16Pair { public : // X and Y components. Int16 X, Y; /***************/ /* CONSTRUCTOR */ /***************/ Int16Pair() : X( 0 ), Y( 0 ) { } /***************/ /* CONSTRUCTOR */ /***************/ // Pass X and Y components in x and y. Int16Pair( Int16 x, Int16 y ) : X( x ), Y( y ) { } }; #endif /* END of Int16Pair.h */