hongyun AHN
/
project_Maze
200943373hongyun
player/player.h
- Committer:
- hongyunAHN
- Date:
- 2017-05-04
- Revision:
- 0:e70cf0da7c72
File content as of revision 0:e70cf0da7c72:
#ifndef PLAYER_H #define PLAYER_H #include "mbed.h" #include "N5110.h" #include "background.h" class player { public: player(); ~player(); void init(int x,int height,int width); void read_input(background pad); void update(Direction d,float mag); void draw(N5110 &lcd); Vector2D get_pos(); private: int _x; int _y; }; #endif