![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
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: Board/Board.h
- Revision:
- 2:d59a92e65bd9
- Child:
- 3:54132cf073d7
diff -r 03d1c29c2f8a -r d59a92e65bd9 Board/Board.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Board/Board.h Tue May 19 10:18:06 2020 +0000 @@ -0,0 +1,36 @@ +#ifndef BOARD_H +#define BOARD_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Board { +public: + Board(); + ~Board(); + void draw(N5110 &lcd); + void path(); + void drawpath(int x0, int y0, int x1, int y1, Vector2D array[]); + Vector2D column0[]; + Vector2D column1[]; + Vector2D column2[]; + + Vector2D column3[]; + Vector2D column4[]; + Vector2D column5[]; + + Vector2D column6[]; + Vector2D column7[]; + Vector2D column8[]; + + Vector2D column9[]; + Vector2D column10[]; + Vector2D column11[]; + + +private: + + +}; +#endif \ No newline at end of file