![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Diff: RoomEngine/Room/Room.h
- Revision:
- 36:92d131695e7c
- Parent:
- 34:1d5b4da3935e
- Child:
- 37:a404860171a9
--- a/RoomEngine/Room/Room.h Mon May 06 20:05:14 2019 +0000 +++ b/RoomEngine/Room/Room.h Tue May 07 01:11:07 2019 +0000 @@ -6,6 +6,7 @@ #include "Player.h" #include "Headless.h" #include "Snake.h" +#include "Skull.h" #include "N5110.h" @@ -24,7 +25,7 @@ public: // Constructors - Room(int no_of_enemies); + Room(int no_of_enemies, int room_type); // Deconstructors ~Room(); @@ -42,6 +43,8 @@ // Variables Entity *enemies[MAX_ENEMIES]; bool valid_enemies[MAX_ENEMIES]; + Entity *collectibles[MAX_ENEMIES]; + bool valid_collectibles[MAX_ENEMIES]; int enemies_type[MAX_ENEMIES]; };