Player Library

Player.h

Committer:
ll14c4p
Date:
2017-05-02
Revision:
9:002ea306683d
Parent:
7:6987a8d682a3
Child:
10:43b537436eb5

File content as of revision 9:002ea306683d:

#ifndef PLAYER_H
#define PLAYER_H

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


class Player
{
    public:
    Player();
    ~Player();
    void init();
    void draw(N5110 &lcd);
    void update(Direction d,float mag);
    Vector2D get_pos();

    private:
    int m;
    int _x;
    int _y;
    int _speed;

};
#endif