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.
Diff: Sprite/Sprite.cpp
- Revision:
- 2:b62e8be35a5d
- Parent:
- 1:37802772843e
- Child:
- 3:b34685dbdb8d
--- a/Sprite/Sprite.cpp Mon Mar 25 10:48:23 2019 +0000
+++ b/Sprite/Sprite.cpp Tue Apr 02 10:45:44 2019 +0000
@@ -20,10 +20,13 @@
_pos = pos;
}
-
+void Sprite::update(Gamepad &pad)
+{
+
+}
-
-void Sprite::render(N5110 lcd) {
+void Sprite::render(N5110 &lcd) {
+
lcd.drawSprite(_pos.x,_pos.y,_height,_width, _bitmap);
};