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: Miner/Miner.h
- Revision:
- 30:6d6b48fe3679
- Parent:
- 29:d85886364643
- Child:
- 32:5dc769ba4a58
diff -r d85886364643 -r 6d6b48fe3679 Miner/Miner.h
--- a/Miner/Miner.h Wed Apr 10 00:50:14 2019 +0000
+++ b/Miner/Miner.h Wed Apr 10 14:29:14 2019 +0000
@@ -5,6 +5,7 @@
#include "N5110.h"
#include "Gamepad.h"
+
const int miner_right[24] = {
1,1,1,
1,1,0,
@@ -70,9 +71,11 @@
int _direction;
int _gravity;
- int _jump;
+ bool _jump;
int _y;
int _x;
+ bool _j_flag;
+ int _j_counter;
enemies _enem;