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

Dependencies:   mbed MotionSensor

Revision:
47:6e31b195ce3c
Parent:
46:f09711580d4a
Child:
49:3f83ed62d123
diff -r f09711580d4a -r 6e31b195ce3c RoomEngine/RoomEngine.h
--- a/RoomEngine/RoomEngine.h	Wed May 08 20:47:52 2019 +0000
+++ b/RoomEngine/RoomEngine.h	Thu May 09 01:57:49 2019 +0000
@@ -27,7 +27,7 @@
     void update_current_room();
     
     void read_input(Gamepad &gamepad);
-    void update();
+    void update(int &number_of_enemies_killed);
     void render(N5110 &lcd, Gamepad &gamepad);
     
     int check_player_room_position();
@@ -65,7 +65,7 @@
     void check_damage();
     void check_damage_player();
     void check_damage_enemies();
-    void check_enemies_death();
+    void check_enemies_death(int &number_of_enemies_killed);
     void check_walls_collision();
     
     void move();