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

Dependencies:   mbed MotionSensor

Revision:
26:abbc19edc5c1
Parent:
25:112cbcb0b4a7
Child:
27:a1b41626f57c
diff -r 112cbcb0b4a7 -r abbc19edc5c1 Room/Room.h
--- a/Room/Room.h	Fri Apr 26 02:38:05 2019 +0000
+++ b/Room/Room.h	Mon Apr 29 02:45:17 2019 +0000
@@ -1,15 +1,29 @@
 #ifndef ROOM_H
 #define ROOM_H
+#include "Entity.h"
 #include "Player.h"
 #include "Headless.h"
 #include "Snake.h"
+#include "N5110.h"
 
-class Room
+#define MAX_ENEMIES 10
+
+class Room // contains the type of room, number of enemies inside it, the doorways existing in the room, functions to spawn enemies
 {
     private:
     
     public:
+    // Constructors
+    Room();
     
+    // Functions
+    void init();
+    void spawn_enemies();
+    void draw_enemies(N5110 &lcd);
+    
+    // Variables
+    Entity *enemies[MAX_ENEMIES];
+    bool valid_enemies[MAX_ENEMIES];
 };
 
 #endif
\ No newline at end of file