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: Level1/Level1.h
- Revision:
- 26:bce40bf4c9fc
- Parent:
- 24:9c7aca60e374
- Child:
- 27:e73dd64ef334
--- a/Level1/Level1.h Mon Apr 08 18:17:10 2019 +0000
+++ b/Level1/Level1.h Tue Apr 09 01:36:47 2019 +0000
@@ -15,15 +15,21 @@
void level_platforms(N5110 &lcd);
void soft_blocks(N5110 &lcd);
void solid_blocks(N5110 &lcd);
- int spikes(N5110 &lcd);
+ int traps(N5110 &lcd);
void keys(N5110 &lcd, Gamepad &pad);
int keys_collected();
bool level1_exit(N5110 &lcd);
+ void enemies_right(N5110 &lcd);
+ void enemies_left(N5110 &lcd);
+ void enemy_init(int x, int y, int d);
private:
Levelengine _level;
Key _k;
+ double _x;
+ double _y;
+ int _d;
};
#endif
\ No newline at end of file