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

Dependencies:   mbed MotionSensor

Revision:
23:5a8f75e93508
Parent:
22:7abf4581bc9b
Child:
24:26369d92a06a
--- a/Entity/Entity.cpp	Thu Apr 25 05:53:30 2019 +0000
+++ b/Entity/Entity.cpp	Thu Apr 25 23:15:44 2019 +0000
@@ -31,11 +31,6 @@
     return false;
 }
 
-void Entity::take_damage(int damage)
-{
-    hp -= damage;
-}
-
 bool Entity::death_check()
 {
     if (hp <= 0) {
@@ -94,4 +89,12 @@
 int Entity::get_prev_pos_y()
 {
     return prev_pos.y;
+}
+int Entity::get_attack()
+{
+    return attack;
+}
+int Entity::get_hp()
+{
+    return hp;
 }
\ No newline at end of file