Player Library

Player.h

Committer:
ll14c4p
Date:
2017-04-24
Revision:
4:6d5ea29f83b0
Parent:
1:933b7aa73bbc
Child:
6:79a9c37a0b80

File content as of revision 4:6d5ea29f83b0:

#ifndef PLAYER_H
#define PLAYER_H

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


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

    int _x;
    int _y;
    int _speed;

};
#endif