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: Game/Game.cpp
- Revision:
- 12:200a1266ceee
- Parent:
- 11:953141c3f7dd
- Child:
- 13:c3b550fc2445
diff -r 953141c3f7dd -r 200a1266ceee Game/Game.cpp
--- a/Game/Game.cpp Thu May 02 17:50:39 2019 +0000
+++ b/Game/Game.cpp Thu May 02 19:59:05 2019 +0000
@@ -20,10 +20,12 @@
void Game::drawSprite(N5110 &lcd){
maze.drawSprite(lcd);
enemy1.drawSprite(lcd);
+ enemy2.drawSprite(lcd);
smiley.drawSprite(lcd);
}
void Game::movement(Gamepad &pad, N5110 &lcd, mC col){
smiley.movement(dir,lcd);
enemy1.movement(lcd);
+ enemy2.movement(lcd);
}
\ No newline at end of file