Player Library
Player.h
- Committer:
- ll14c4p
- Date:
- 2017-05-03
- Revision:
- 10:43b537436eb5
- Parent:
- 9:002ea306683d
- Child:
- 12:1324d72d12a6
File content as of revision 10:43b537436eb5:
#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(); private: int m; int _x; int _y; int _speed; }; #endif