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 MotionSensor
Diff: Entity/Collectibles/Health/Health.cpp
- Revision:
- 33:4f3948dcd2f7
- Parent:
- 32:fe6359ef9916
- Child:
- 34:1d5b4da3935e
--- a/Entity/Collectibles/Health/Health.cpp Mon May 06 08:56:48 2019 +0000
+++ b/Entity/Collectibles/Health/Health.cpp Mon May 06 13:27:26 2019 +0000
@@ -32,9 +32,9 @@
get_frame());
}
-int * Health::get_frame()
+char * Health::get_frame()
{
- return (int *) health_sprite;
+ return (char *) health_sprite;
}
void Health::take_damage(int damage)