A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.

Dependencies:   mbed MotionSensor

Revision:
37:a404860171a9
Parent:
36:92d131695e7c
Child:
38:09832e662803
Child:
40:cbcbf6fc1421
diff -r 92d131695e7c -r a404860171a9 Entity/Bosses/Skull/Skull.cpp
--- a/Entity/Bosses/Skull/Skull.cpp	Tue May 07 01:11:07 2019 +0000
+++ b/Entity/Bosses/Skull/Skull.cpp	Tue May 07 03:47:39 2019 +0000
@@ -2,7 +2,7 @@
 #include <complex>
 Skull::Skull(float pos_x, float pos_y)
 {
-    hp = 25;
+    hp = 1;
     attack = 1;
     
     _dash = false;
@@ -29,11 +29,10 @@
     frame.count = 0;
     frame.number = 0;
     frame.max = 2;
-    face = 0;
+    face = 2;
     
     velocity = 0.2;
-    _damage_self_upon_collision = false;
-    _hp_drop_chance = 30;
+    _hp_drop_chance = 100;
 }
 
 void Skull::move(float player_x, float player_y, char * map, bool * doorways)