Space invaders with a nRF2401A wireless joypad
Dependencies: Gameduino mbed nRF2401A
Fork of Gameduino_Invaders_game by
Gameduino and an nRF2401A hooked up to an mbed on an mbeduino:
game.h
- Committer:
- TheChrisyd
- Date:
- 2014-03-09
- Revision:
- 5:3ede9991d8e0
- Parent:
- 2:20a89dc286d5
File content as of revision 5:3ede9991d8e0:
//#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;