Player Library

Player.h

Committer:
ll14c4p
Date:
2017-04-29
Revision:
7:6987a8d682a3
Parent:
6:79a9c37a0b80
Child:
9:002ea306683d

File content as of revision 7:6987a8d682a3:

#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();
    int playerx;
    int playery;
    
    private:
    int m;
    int _x;
    int _y;
    int _speed;

};
#endif