harry rance
/
Revised_Space_Invaders
Harry Rance 200925395 Embedded Systems Project
Diff: main.cpp
- Revision:
- 2:50feb42b982c
- Parent:
- 1:95d7dd44bb0d
- Child:
- 3:43970d8d642e
diff -r 95d7dd44bb0d -r 50feb42b982c main.cpp --- a/main.cpp Thu Apr 13 13:30:39 2017 +0000 +++ b/main.cpp Wed Apr 26 17:40:17 2017 +0000 @@ -4,11 +4,9 @@ #include "N5110.h" #include "GameEngine.h" -#define SHIELD_X 0 -#define SHIELD_Y 0 #define US_X 42 #define AA_X 2 -#define SPEED 1 +#define SPEED 1.5 ////////// structs ////////// struct UserInput { @@ -55,7 +53,7 @@ lcd.init(); pad.init(); - engine.initialise(SHIELD_X, SHIELD_Y, US_X, AA_X, SPEED); + engine.initialise(US_X, AA_X, SPEED); }