ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Floors/Floors.h

Committer:
el17m2h
Date:
2019-04-21
Revision:
14:529f798adae4
Parent:
12:c5123abb4fbe
Child:
15:4efa04a6a376

File content as of revision 14:529f798adae4:

#ifndef FLOORS_H
#define FLOORS_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Doodler.h"

class Floors{
public:
    Floors();
    ~Floors();
    void init(int y, int width, int height);
    void draw(N5110 &lcd);
    void update();
    Vector2D get_position(); 
    void set_position(Vector2D pos); // mutators
    void set_score(int score);
    
private:
    int _height;
    int _width;
    Vector2D _position;
    
};
#endif