Player Library
Player.h
- Committer:
- ll14c4p
- Date:
- 2017-05-04
- Revision:
- 12:1324d72d12a6
- Parent:
- 10:43b537436eb5
- Child:
- 14:f2562b193023
File content as of revision 12:1324d72d12a6:
#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