Nemesis game, friendly

Friendly.h

Committer:
musallambseiso
Date:
2017-03-15
Revision:
4:879c4cb8a7e4
Child:
9:3c411d37d390

File content as of revision 4:879c4cb8a7e4:

#ifndef FRIENDLY_H
#define FRIENDLY_H

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

class Friendly
{
public:

    Friendly();
    ~Friendly();
    void init(int x,int height,int width);
    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