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

Dependencies:   mbed MotionSensor

Revision:
24:26369d92a06a
Parent:
23:5a8f75e93508
Child:
26:abbc19edc5c1
--- a/Entity/Entity.cpp	Thu Apr 25 23:15:44 2019 +0000
+++ b/Entity/Entity.cpp	Fri Apr 26 01:14:51 2019 +0000
@@ -41,6 +41,15 @@
 
 // mutators
 
+void Entity::position_add_x(float change_x)
+{
+    position.x += change_x;
+}
+void Entity::position_add_y(float change_y)
+{
+    position.y += change_y;
+}
+
 // accessors
 bool Entity::get_moving()
 {