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.
Dependencies: mbed
Floors/Floors.h
- Committer:
- el17m2h
- Date:
- 2019-04-17
- Revision:
- 12:c5123abb4fbe
- Parent:
- 11:2041290b5a74
- Child:
- 14:529f798adae4
File content as of revision 12:c5123abb4fbe:
#ifndef FLOORS_H #define FLOORS_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Doodler.h" class Floors{ public: Floors(); ~Floors(); void init(int y, int width, int height); void draw(N5110 &lcd); void update(); Vector2D get_pos(); void set_pos(Vector2D p); // mutators private: int _height; int _width; Vector2D _pos; }; #endif