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: Enemy1 Enemy2 Enemy3 Enemy4 Enemy5 Enemy6 Engine Friendly Gamepad N5110 Rocket Stats mbed
Diff: main.cpp
- Revision:
- 5:638ffc5c66f6
- Parent:
- 4:9660fc7ede8c
- Child:
- 6:0ad91977f14f
--- a/main.cpp Sun Apr 09 12:47:07 2017 +0000
+++ b/main.cpp Mon Apr 10 16:44:46 2017 +0000
@@ -35,9 +35,8 @@
engine.read_input(pad);
engine.checker(lcd, pad);
engine.update(lcd, pad);
- engine.shoot(lcd, pad, SHIP_SPEED);
+ //engine.shoot(lcd, pad, SHIP_SPEED);
generate();
- engine.death(lcd, pad);
lcd.refresh();
wait(1.0f/fps);
}
@@ -54,7 +53,6 @@
{
lcd.clear();
engine.draw(lcd); // grid, health
- engine.ships_gen(lcd); // ships
lcd.refresh();
}