Invaders game for the Gameduino

Dependencies:   Gameduino mbed

game.h

Committer:
TheChrisyd
Date:
2013-10-26
Revision:
4:e82f4a87df9e
Parent:
2:20a89dc286d5

File content as of revision 4:e82f4a87df9e:

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