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:
- 51:4d0cd75e7ed3
- Parent:
- 47:6e31b195ce3c
- Child:
- 58:c8d90bb7404a
--- a/RoomEngine/Room/Room.h Thu May 09 06:33:28 2019 +0000 +++ b/RoomEngine/Room/Room.h Thu May 09 07:39:49 2019 +0000 @@ -17,7 +17,6 @@ { private: bool _doorways[4]; - bool _doorways_memory[4]; int _room_type; int _enemy_coord[MAX_ENEMIES][2]; // _enemy_coord[EnemyID][x/y] char _wall_stat[2][4]; // _wall_coord[WallID][x/y/width/height] @@ -26,16 +25,19 @@ short int _spawn_point_coord; // Functions + void init_boss_room(); + void init_normal_room(); + void init_middle_walled_room(); + void init_side_walled_room(); + + void rand_enemy_coordinate(int id); + void draw_doorways(N5110 &lcd); void draw_doorways_overlay(N5110 &lcd); void draw_enemies(N5110 &lcd, int j); void draw_collectibles(N5110 &lcd, int j); void draw_walls(N5110 &lcd, int j); - void init_normal_room(); - void init_middle_walled_room(); - void init_side_walled_room(); - void init_boss_room(); - void rand_enemy_coordinate(int id); + public: // Constructors