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/Headless/Headless.cpp
- Revision:
- 13:d04a6caba40d
- Parent:
- 12:a1c1991835ca
- Child:
- 16:ddb203a74dfc
- Child:
- 20:6405835af6e2
diff -r a1c1991835ca -r d04a6caba40d Entity/Headless/Headless.cpp
--- a/Entity/Headless/Headless.cpp Tue Apr 23 22:59:12 2019 +0000
+++ b/Entity/Headless/Headless.cpp Wed Apr 24 02:33:33 2019 +0000
@@ -5,7 +5,7 @@
Headless::Headless(float pos_x, float pos_y){
moving = true;
face = 0;
- hp = 0;
+ hp = 3;
hitbox.width = 6;
hitbox.height = 5;
position.x = pos_x;
@@ -54,8 +54,4 @@
int * Headless::get_frame(){
return (int *) sprite_headless[face][frame.number];
-}
-
-void Headless::chkdmg(){
-
}
\ No newline at end of file