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

Dependencies:   mbed MotionSensor

Revision:
27:a1b41626f57c
Parent:
26:abbc19edc5c1
Child:
28:98848e6a77a2
--- a/Entity/Entity.h	Mon Apr 29 02:45:17 2019 +0000
+++ b/Entity/Entity.h	Mon Apr 29 10:39:09 2019 +0000
@@ -42,10 +42,10 @@
 
 public:
     // Function
-    virtual void move(float, float) = 0; // movement control and miscellaneous updates
+    virtual void move(float, float, int * map) = 0; // movement control and miscellaneous updates
     virtual int * get_frame() = 0;
     virtual void take_damage(int) = 0;
-    bool matrix_collision_test(float, float, int);
+    bool matrix_collision_test(float pos_x, float pos_y, int * map);
     void undo_move_x(bool);
     void undo_move_y(bool);
     void update_prev_pos();