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:
- 6:46d0caedf217
- Parent:
- 5:0a116644cce2
- Child:
- 10:ef01b3076040
--- a/engine/engine.h Mon Apr 16 09:57:57 2018 +0000
+++ b/engine/engine.h Tue Apr 17 20:53:43 2018 +0000
@@ -6,6 +6,7 @@
#include "Gamepad.h"
#include "rect.h"
#include "boom.h"
+#include "money.h"
#define GAP 2
@@ -25,16 +26,17 @@
private:
void engine::check_boom_collision(Gamepad &pad);
- void engine::check_wall_collision(Gamepad &pad);
+ void engine::check_money_pos(Gamepad &pad);
+ void engine::check_rect_pos(Gamepad &pad);
+ void engine::check_boom_pos(Gamepad &pad);
rect _rect;
-
+ int _speed;
- int _speed;
- int _recx;
-
boom _boom;
+ money _money;
+
Direction _d;