A ton of the game basic functions are now working. I have a random gen man, enemies, and enemies pathing to you.
This commit is contained in:
parent
2e8abbaf5e
commit
dd6d29ed7d
2 changed files with 40 additions and 3 deletions
4
map.hpp
4
map.hpp
|
@ -63,6 +63,10 @@ public:
|
|||
return m_rooms[at];
|
||||
}
|
||||
|
||||
size_t room_count() {
|
||||
return m_rooms.size();
|
||||
}
|
||||
|
||||
void make_room(size_t origin_y, size_t origin_x, size_t width, size_t height);
|
||||
|
||||
void add_door(Room &room);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue