Player Library
Player.h
- Committer:
- ll14c4p
- Date:
- 2017-04-28
- Revision:
- 6:79a9c37a0b80
- Parent:
- 4:6d5ea29f83b0
- Child:
- 7:6987a8d682a3
File content as of revision 6:79a9c37a0b80:
#ifndef PLAYER_H #define PLAYER_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Player { public: Player(); ~Player(); void init(int x, int y); void draw(N5110 &lcd); void update(Direction d,float mag); Vector2D get_pos(); private: int m; int _x; int _y; int _speed; }; #endif