Player Library
Player.h
- Committer:
- ll14c4p
- Date:
- 2017-04-24
- Revision:
- 1:933b7aa73bbc
- Parent:
- 0:a88279bdf8c0
- Child:
- 4:6d5ea29f83b0
File content as of revision 1:933b7aa73bbc:
#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); private: int _x; int _y; int _speed; }; #endif