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:
- 50:2c5cb92a5361
- Parent:
- 49:3f83ed62d123
- Child:
- 57:1c12361b6e3d
diff -r 3f83ed62d123 -r 2c5cb92a5361 RoomEngine/RoomEngine.h --- a/RoomEngine/RoomEngine.h Thu May 09 04:24:30 2019 +0000 +++ b/RoomEngine/RoomEngine.h Thu May 09 06:33:28 2019 +0000 @@ -23,14 +23,15 @@ // Functions void load(Player *current_player, Room *current_room); void entrance_scene(N5110 &lcd, Gamepad &gamepad); - void exit_scene(N5110 &lcd, Gamepad &gamepad); void update_current_room(); + int check_player_room_position(); + void read_input(Gamepad &gamepad); void update(int &number_of_enemies_killed); void render(N5110 &lcd, Gamepad &gamepad); - int check_player_room_position(); + void exit_scene(N5110 &lcd, Gamepad &gamepad); // Accessor int get_room_x();