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: Engine/Engine.h
- Revision:
- 19:5a7b0cdf013b
- Parent:
- 18:9f40a2f8c2c5
- Child:
- 20:a359092079b0
--- a/Engine/Engine.h Wed Apr 24 12:43:52 2019 +0000
+++ b/Engine/Engine.h Thu Apr 25 08:43:46 2019 +0000
@@ -18,11 +18,11 @@
void draw(N5110 &lcd);
void check_floors_collision();
-private:
+private:
Bullet _b;
- float _bullet_pos_x;
- float _bullet_pos_y;
-
+ float _b_pos_x;
+ float _b_pos_y;
+
Floors _f;
Floors _f1;
Floors _f2;
@@ -53,9 +53,16 @@
int _doodler_radius;
float _doodler_pos_x;
float _doodler_pos_y;
+ float _updated_doodler_pos_x;
+ float _updated_doodler_pos_y;
float _doodler_vel_x;
double _doodler_vel_y;
+ int _screen_pos_x;
+ int _screen_pos_y;
+ int _screen_width;
+ int _screen_height;
+
Direction _d;
float _mag;
bool _button_A;