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/Mobs/Headless/Headless.h
- Revision:
- 56:ef9521b7ed78
- Parent:
- 34:1d5b4da3935e
- Child:
- 58:c8d90bb7404a
--- a/Entity/Mobs/Headless/Headless.h Thu May 09 08:18:36 2019 +0000
+++ b/Entity/Mobs/Headless/Headless.h Thu May 09 08:42:52 2019 +0000
@@ -15,8 +15,9 @@
virtual void take_damage(int damage);
private:
- // Private Functions
+ // Methods
char * get_frame();
+ void increment_frame();
};
const char sprite_headless[4][4][9][6] = { // Player [Face][SpriteAnimationFrame][Size_Y][Size_X]