Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Character/Character.h
- Committer:
- Albutt
- Date:
- 2020-05-24
- Revision:
- 10:71ced616a64f
- Parent:
- 9:62fe47a1374f
- Child:
- 12:c557b6c9b17a
File content as of revision 10:71ced616a64f:
#include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Character { public: Character(); ~Character(); void init(int x,int y); void draw(N5110 &lcd); void update(Direction d,float mag); void reset(); int get_direction(); int get_x(); int get_y(); private: int _x; int _y; int _speed; int _dir; };