All there but errors need fixing

Dependencies:   mbed

Tetromino/Tetromino.h

Committer:
el18rs
Date:
2020-05-24
Revision:
3:522c6f850e91
Child:
4:7ddd287a5d28

File content as of revision 3:522c6f850e91:

#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