Chris Dick
/
Gameduino_Invaders_game
Invaders game for the Gameduino
Embed:
(wiki syntax)
Show/hide line numbers
game.h
00001 //#include <SPI.h> 00002 #include "GD.h" 00003 #include "joystick.h" 00004 #include "shield.h" 00005 #include "mbed.h" 00006 #include "arduino.h" 00007 /*--------------------------------------------- 00008 Data types 00009 ---------------------------------------------*/ 00010 typedef char int8; 00011 00012 /*--------------------------------------------- 00013 Header files 00014 ---------------------------------------------*/ 00015 #include "utils.h" 00016 #include "graphics.h" 00017 #include "sound.h" 00018 00019 /*--------------------------------------------- 00020 Game functions 00021 ---------------------------------------------*/ 00022 void initGame(); // Called once from setup() 00023 void updateGame(); // Called from loop() to update the game 00024 00025 extern Joystick joystick;
Generated on Thu Jul 14 2022 11:20:53 by 1.7.2