Chris Dick
/
Gameduino_Invaders_game
Invaders game for the Gameduino
Diff: game.h
- Revision:
- 0:8a7c58553b44
- Child:
- 1:f44175dd69fd
diff -r 000000000000 -r 8a7c58553b44 game.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/game.h Thu Jun 21 19:13:34 2012 +0000 @@ -0,0 +1,25 @@ +//#include <SPI.h> +#include "GD.h" +#include "joystick.h" +#include "shield.h" +#include "mbed.h" +#include "arduino.h" +/*--------------------------------------------- + Data types +---------------------------------------------*/ +typedef char int8; + +/*--------------------------------------------- + Header files +---------------------------------------------*/ +#include "utils.h" +#include "graphics.h" +#include "sound.h" + +/*--------------------------------------------- + Game functions +---------------------------------------------*/ +void initGame(); // Called once from setup() +void updateGame(); // Called from loop() to update the game + +extern Joystick joystick;