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: RosenEngine/RosenEngine.h
- Revision:
- 10:c33d7593a275
- Parent:
- 9:241a1a7d8527
- Child:
- 11:73cd744ffa80
--- a/RosenEngine/RosenEngine.h Tue Apr 09 05:14:07 2019 +0000 +++ b/RosenEngine/RosenEngine.h Tue Apr 09 06:43:01 2019 +0000 @@ -20,13 +20,15 @@ void update(Gamepad &pad); void draw(N5110 &lcd); void get_pos(); - void RosenEngine::title(N5110 &lcd); + void title(N5110 &lcd); + int get_cursor(); int ship_xpos; int ship_ypos; int ship_width; + private: void check_ship_projectile_collision(); void check_enemy_ship_collision(); @@ -39,7 +41,7 @@ float _xjoystick; float _yjoystick; Direction _d; - + int _ycursor; };