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:
- 41:0697508a28ba
- Parent:
- 40:cbcbf6fc1421
- Child:
- 43:63f5c9d9689c
diff -r cbcbf6fc1421 -r 0697508a28ba RoomEngine/RoomEngine.h --- a/RoomEngine/RoomEngine.h Tue May 07 12:42:12 2019 +0000 +++ b/RoomEngine/RoomEngine.h Tue May 07 17:02:30 2019 +0000 @@ -14,7 +14,7 @@ { public: // Constructor - RoomEngine(float global_contrast, Player *current_player); + RoomEngine(float global_contrast); // Destructor ~RoomEngine(); @@ -65,6 +65,8 @@ void check_damage_enemies(); void check_damage_enemies_by_bullets(); void check_enemies_death(); + void check_walls_collision(); + void move(); void move_player(); void move_enemies();