A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Diff: RoomEngine/RoomEngine.h
- Revision:
- 32:fe6359ef9916
- Parent:
- 31:ab24d028ddfd
- Child:
- 37:a404860171a9
--- a/RoomEngine/RoomEngine.h Sun May 05 18:37:23 2019 +0000 +++ b/RoomEngine/RoomEngine.h Mon May 06 08:56:48 2019 +0000 @@ -13,8 +13,12 @@ class RoomEngine { public: + // Constructor RoomEngine(float global_contrast); + // Destructor ~RoomEngine(); + + // Functions void load(Player *current_player, Room *current_room); void entrance_scene(N5110 &lcd, Gamepad &gamepad); void exit_scene(N5110 &lcd, Gamepad &gamepad); @@ -23,6 +27,7 @@ void read_input(Gamepad &gamepad); void update(); void render(N5110 &lcd, Gamepad &gamepad); + bool check_player_death(); int check_player_room_position(); @@ -71,7 +76,6 @@ void pause_detection(N5110 &lcd, Gamepad &gamepad); void draw(N5110 &lcd); - void draw_enemies(N5110 &lcd); void draw_health(N5110 &lcd); };