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: Sprites/Sprites.h
- Revision:
- 51:a4b5ded0b727
- Parent:
- 50:65ba437510f8
- Child:
- 52:715791fc08a1
--- a/Sprites/Sprites.h Wed Apr 24 16:50:37 2019 +0000 +++ b/Sprites/Sprites.h Wed Apr 24 18:03:30 2019 +0000 @@ -90,14 +90,14 @@ /** Keys position struct */ -struct keyed { +struct Key_init { bool key[5]; /**< initialise key flag array identifies each key individually */ double kx[5]; /**< key x position*/ double ky[5]; /**< key y position*/ }; /** Enemy position and movement struct */ -struct enemies_init { +struct Enemies_init { bool eflag[5]; /**< initialise enemy flag array identifies each key individually */ double ex[5]; /**< enemy x position */ double ey[5]; /**< enemy y position */ @@ -163,8 +163,8 @@ */ Vector2D get_pos(); /** States starting position of player - @param x position - @param y position + @param miner x position + @param miner y position */ void miner_init(int x, int y); void miner_move(Direction d, N5110 &lcd); @@ -187,8 +187,8 @@ bool exit_level(int x, int y, N5110 &lcd); - keyed _k; - enemies_init _enem; + Key_init _k; + Enemies_init _enem;