![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All there but errors need fixing
Diff: Tetromino/Tetromino.h
- Revision:
- 3:522c6f850e91
- Child:
- 4:7ddd287a5d28
diff -r 55092965eadd -r 522c6f850e91 Tetromino/Tetromino.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tetromino/Tetromino.h Sun May 24 11:18:33 2020 +0000 @@ -0,0 +1,29 @@ +#ifndef TETROMINO_H +#define TETROMINO_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Tetromino +{ +public: + +Tetromino(); +~Tetromino(); +void init(int x, int height, int width); +void draw(N5110 &lcd, int x); +void update(Direction d, float mag); +Vector2D get_pos(); + +private: + +int _height; +int _width; +int _x; +int _y; +int _speed; +int _shape_type; + +}; +#endif \ No newline at end of file