copy
Dependencies: Gamepad N5110 mbed
Player/Player.h
- Committer:
- hongyunAHN
- Date:
- 2017-05-03
- Revision:
- 0:ffd6b3f45a8c
File content as of revision 0:ffd6b3f45a8c:
#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