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:
- 8:87a845b8575e
- Parent:
- 7:ed5870cfb3e0
- Child:
- 9:241a1a7d8527
--- a/RosenEngine/RosenEngine.h Tue Mar 05 13:24:15 2019 +0000 +++ b/RosenEngine/RosenEngine.h Tue Mar 12 10:53:11 2019 +0000 @@ -15,7 +15,7 @@ RosenEngine(); ~RosenEngine(); - void RosenEngine::init(int ship_width,int ship_height,int ship_speed,int ship_xpos,int ship_ypos); + void init(int ship_width,int ship_height,int ship_speed,int ship_xpos,int ship_ypos); void read_input(Gamepad &pad); void update(Gamepad &pad); void draw(N5110 &lcd); @@ -26,13 +26,7 @@ void check_enemy_projectile_collision(); // Variables - /* - int _ship_speed; - int _ship_width; - int _ship_xpos; - int _ship_ypos; - */ - + Ship _ship; float _xjoystick; float _yjoystick;