Matis Requis 201241242
Dependencies: mbed
Tempest Game
Game Screen
The board is made of 12 columns. The Hero stays at the top of the column
Game Controls
To control the hero spaceship point the joystick to the column you want the hero to go to.
Press the A button to shoot a bullet in the column you are currently in.
Diff: Hero/Hero.h
- Revision:
- 4:8e3ba8d6d915
- Parent:
- 2:d59a92e65bd9
- Child:
- 6:037dfa5064a1
--- a/Hero/Hero.h Thu May 21 07:10:22 2020 +0000 +++ b/Hero/Hero.h Fri May 22 10:29:49 2020 +0000 @@ -14,7 +14,7 @@ void init(int column); void draw(N5110 &lcd); - void update(Direction d); + void update(float d, float mag, int a); Vector2D getxy(); int _column; @@ -23,6 +23,9 @@ int _x; int _y; + int _a; + int _d; + int _mag; }; #endif \ No newline at end of file