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.cpp
- Revision:
- 22:8cad70085883
- Parent:
- 21:628fb703188f
- Child:
- 23:0301effce801
--- a/RosenEngine/RosenEngine.cpp Sun Apr 14 10:11:43 2019 +0000 +++ b/RosenEngine/RosenEngine.cpp Sun Apr 14 10:38:54 2019 +0000 @@ -41,7 +41,7 @@ if(_shipno == 0) { _ship.set_dimensions(9,6); _ship.draw_ship(lcd); - _weapons.draw(lcd); + _weapons.draw(lcd,_shipno); } if(_shipno == 1) { _ship.set_dimensions(7,10); @@ -57,7 +57,7 @@ pad.tone(1700,0.15); wait(0.15); while((A_button) == true) { - _weapons.draw_i(lcd); + _weapons.draw(lcd,_shipno); pad.tone(2000,0.1); wait(0.1); }