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.
Board/Board.h
- Committer:
- MatisRequis
- Date:
- 2020-05-26
- Revision:
- 9:759b419fec3b
- Parent:
- 8:5feb1913bc92
- Child:
- 10:2ae9d4145410
File content as of revision 9:759b419fec3b:
#ifndef BOARD_H #define BOARD_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include <algorithm> class Board { public: Board(); ~Board(); void draw(N5110 &lcd); void path(); void drawpath(int x0, int y0, int x1, int y1, Vector2D array[14]); Vector2D drawcolumn[12][14]; private: }; #endif