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

Dependencies:   mbed MotionSensor

Revision:
31:ab24d028ddfd
Parent:
30:ec915d24d3e9
Child:
32:fe6359ef9916
diff -r ec915d24d3e9 -r ab24d028ddfd RoomEngine/RoomEngine.cpp
--- a/RoomEngine/RoomEngine.cpp	Sun May 05 18:04:43 2019 +0000
+++ b/RoomEngine/RoomEngine.cpp	Sun May 05 18:37:23 2019 +0000
@@ -12,9 +12,9 @@
     delete player;
 }
 
-void RoomEngine::load(Player &current_player, Room *current_room)
+void RoomEngine::load(Player *current_player, Room *current_room)
 {
-    player = &current_player;
+    player = current_player;
     room = current_room;
     set_input(0,0,0,0,0,0,0,0);
     update_player_position(check_player_room_position());