A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Room/Room.h
- Committer:
- el17sm
- Date:
- 2019-04-29
- Revision:
- 26:abbc19edc5c1
- Parent:
- 25:112cbcb0b4a7
- Child:
- 27:a1b41626f57c
File content as of revision 26:abbc19edc5c1:
#ifndef ROOM_H #define ROOM_H #include "Entity.h" #include "Player.h" #include "Headless.h" #include "Snake.h" #include "N5110.h" #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