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
Fork of el17zl by
Diff: PushingEngine/PushingEngine.h
- Revision:
- 11:f5d0ea7e4b74
- Parent:
- 10:726c1489894e
- Child:
- 13:5930f0e5889d
diff -r 726c1489894e -r f5d0ea7e4b74 PushingEngine/PushingEngine.h
--- a/PushingEngine/PushingEngine.h Mon Apr 22 07:39:26 2019 +0000
+++ b/PushingEngine/PushingEngine.h Sun Apr 28 17:49:27 2019 +0000
@@ -10,9 +10,6 @@
#include "Menu.h"
-
-
-
class PushingEngine
{
@@ -26,7 +23,7 @@
void update(Gamepad &pad,int barrier_x,int barrier_y);
void draw(N5110 &lcd,int barrier_x,int barrier_y);
int set_score();
- Vector2D print_menu(N5110 &lcd,Gamepad &pad);
+ Vector2D get_menu(N5110 &lcd,Gamepad &pad);
private:
@@ -38,6 +35,8 @@
bool ppl_cover_box(Gamepad &pad);
void box_cover_cross1_score(Gamepad &pad);
void box_cover_cross2_score(Gamepad &pad);
+
+
Box _b1;
Box _b2;
@@ -65,19 +64,19 @@
Menu _menu;
- //reading of bottom
+ //reading of bottom
int _bb;
int _bx;
int _by;
int _ba;
int _bjoy;
int _bj;
-
//parameter for touching
int _s; //ppl with b1
int _r; //ppl with b2
- int _temp;
+ int _temp; //
+
int _score;
};
