Nemesis game, friendly

Friendly.h

Committer:
musallambseiso
Date:
2017-05-01
Revision:
9:3c411d37d390
Parent:
4:879c4cb8a7e4
Child:
10:b856d73db923

File content as of revision 9:3c411d37d390:

#ifndef FRIENDLY_H
#define FRIENDLY_H

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

class Friendly
{
public:

    Friendly();
    ~Friendly();
    void init();
    void draw(N5110 &lcd);
    void update(Direction d,float mag);
    Vector2D get_pos();

private:

    int _height;
    int _width;
    int _x;
    int _y;
    int _speed;
    int _score;

};
#endif