#ifndef PLAYER_H
#define PLAYER_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"

/** Player Class
*   @author Oliver Luong, University of Leeds
*   @brief Controls the player in the Dodge game 
*   @date April 2019
*/ 

class Player
{
public:

    Player();
    ~Player();
    void init(int player_height,int player_width);
    void draw(N5110 &lcd);
    void update(Direction d, float mag);
    Vector2D get_pos();

private:

    int _player_height;
    int _player_width;
    int _x;
    int _y;
    int _speed;

};
#endif