Implement basic functions.

Dependencies:   mbed N5110

Copter/Copter.h

Committer:
Wuuu
Date:
2019-05-03
Revision:
0:7173d91b03e1

File content as of revision 0:7173d91b03e1:

#ifndef COPTER_H
#define COPTER_H

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

class Copter
{
public:
    
    Copter();
    ~Copter();
    void init();
    Vector2D get_coord(Gamepad &pad);
    void draw(N5110 &lcd);
    int get_score();
    int get_h();

private:

    int _score;
    int _h;
    Vector2D _ans;
};
#endif