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
Diff: Floors/Floors.h
- Revision:
- 14:529f798adae4
- Parent:
- 12:c5123abb4fbe
- Child:
- 15:4efa04a6a376
--- a/Floors/Floors.h Thu Apr 18 14:54:51 2019 +0000 +++ b/Floors/Floors.h Sun Apr 21 16:10:19 2019 +0000 @@ -13,13 +13,14 @@ void init(int y, int width, int height); void draw(N5110 &lcd); void update(); - Vector2D get_pos(); - void set_pos(Vector2D p); // mutators + Vector2D get_position(); + void set_position(Vector2D pos); // mutators + void set_score(int score); private: int _height; int _width; - Vector2D _pos; + Vector2D _position; }; #endif \ No newline at end of file