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:
- 9:96969b1c6bde
- Parent:
- 8:21b6d4dbce44
- Child:
- 14:1e6f74233e8e
--- a/Sprite/Sprite.cpp Fri Apr 19 17:54:09 2019 +0000
+++ b/Sprite/Sprite.cpp Wed Apr 24 10:18:45 2019 +0000
@@ -23,12 +23,12 @@
lcd.drawSprite(_pos.x,_pos.y,_height,_width, _bitmap);
};
-Vector2D Sprite::getPos()
+Vector2D Sprite::get_pos()
{
return _pos;
};
-void Sprite::setPos(Vector2D pos)
+void Sprite::set_pos(Vector2D pos)
{
_pos = pos;
};