Commit 6b5d1c47

Implement core room detection: do a flood fill that determines if a given tile is within a room or not

Relates to #22

Hello again! This commit adds the core of what will be the room detection mechanic, the basic algorithm that determines if a given tile is part of a room or not by doing a flood fill: if it hits the outer limits of the game world it is not within a room, as simple as that. 🙂
Currently, there is no management of the resulting data, actually it’s not even saved anywhere, but that will be one of the next steps. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *