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/Health/Health.h
- Revision:
- 32:fe6359ef9916
- Parent:
- 31:ab24d028ddfd
- Child:
- 33:4f3948dcd2f7
diff -r ab24d028ddfd -r fe6359ef9916 Entity/Health/Health.h
--- a/Entity/Health/Health.h Sun May 05 18:37:23 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#ifndef HEALTH_H
-#define HEALTH_H
-#include "Entity.h"
-
-class Health : public Entity
-{
-public:
- // Constructor
- Health(float, float);
-
- // Functions
- virtual void move(float, float, int * map, bool * doorways);
- virtual int * get_frame();
- virtual void take_damage(int);
-
-private:
-};
-
-const int health_sprite[7][7] = {
- {0,1,1,0,1,1,0},
- {1,1,1,1,1,1,1},
- {1,0,1,1,1,1,1},
- {1,0,1,1,1,1,1},
- {0,1,0,1,1,1,0},
- {0,0,1,1,1,0,0},
- {0,0,0,1,0,0,0}
-};
-
-#endif
\ No newline at end of file