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-05-01
- Revision:
- 21:6b16ca9834e6
- Parent:
- 20:a359092079b0
- Child:
- 24:67dc71a8f009
File content as of revision 21:6b16ca9834e6:
#ifndef FLOORS_H #define FLOORS_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Enemy.h" class Floors{ public: Floors(); ~Floors(); void init(int y, int width, int height); void draw(N5110 &lcd); void update(float doodler_pos_y); Vector2D get_position(); void set_position(Vector2D pos); // mutators private: int _height; int _width; float _doodler_pos_y; Vector2D _position; Enemy _eny; int place; }; #endif