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:
- 11:953141c3f7dd
- Parent:
- 9:b272864b8355
- Child:
- 12:200a1266ceee
--- a/Game/Game.cpp Mon Apr 29 22:08:22 2019 +0000
+++ b/Game/Game.cpp Thu May 02 17:50:39 2019 +0000
@@ -19,9 +19,11 @@
void Game::drawSprite(N5110 &lcd){
maze.drawSprite(lcd);
+ enemy1.drawSprite(lcd);
smiley.drawSprite(lcd);
}
void Game::movement(Gamepad &pad, N5110 &lcd, mC col){
- smiley.movement(dir, lcd);
+ smiley.movement(dir,lcd);
+ enemy1.movement(lcd);
}
\ No newline at end of file