Invaders game for the Gameduino

Dependencies:   Gameduino mbed

game.h

Committer:
TheChrisyd
Date:
2012-06-21
Revision:
0:8a7c58553b44
Child:
1:f44175dd69fd

File content as of revision 0:8a7c58553b44:

//#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;