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:
- 10:e1d2289705ef
- Parent:
- 9:5e53bca2a4c2
- Child:
- 11:2041290b5a74
--- a/Floors/Floors.h Tue Apr 16 19:51:12 2019 +0000 +++ b/Floors/Floors.h Wed Apr 17 15:19:58 2019 +0000 @@ -12,19 +12,14 @@ ~Floors(); void init(int x, int y, int width, int height); void draw(N5110 &lcd); - void update(Vector2D current_pos, Vector2D current_vel); - Vector2D get_velocity(); //accesors + void update(Vector2D current_pos); Vector2D get_pos(); void set_pos(Vector2D p); // mutators - void set_velocity (Vector2D v); private: int _height; int _width; Vector2D _pos; - Vector2D _velocity; - Vector2D _current_vel; - Vector2D _current_pos; }; #endif \ No newline at end of file