![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
200943373MAZE
Dependencies: Gamepad N5110 mbed
Diff: Player/Player.h
- Revision:
- 0:df4347043adf
diff -r 000000000000 -r df4347043adf Player/Player.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Player/Player.h Thu May 04 11:25:43 2017 +0000 @@ -0,0 +1,29 @@ +#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 \ No newline at end of file