200943373MAZE

Dependencies:   mbed

Fork of 200943373MAZE by hongyun AHN

Player/Player.h

Committer:
hongyunAHN
Date:
2017-05-04
Revision:
0:df4347043adf
Child:
1:bd92ef8d00ac

File content as of revision 0:df4347043adf:

#ifndef PLAYER_H
#define PLAYER_H

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

class Player
{
public:

    Player();
    ~Player();
    void init();
    void draw(N5110 &lcd);
    void update(Direction d,N5110 &lcd,Gamepad &pad);
  
    Vector2D get_pos();
   
private:

    Background _background;
    
    int _x;
    int _y;

};
#endif