this is what im going for:
so far. i have click 1 complete. click a tile. change the floor tile to a room tile, and spawn in a new tilemap overlapping the room tile.
now im on click2. check for neighboring rooms. no problem, just x-1 to get the tile im checking. now i know there is a tile next to it. i can expand the tile map width... selecting the specific tile map is a concern. any ideas? even if its on spawn set a variable to the 1st click tiles x,y
click 3 will get a new tilemap as a new room
then
click 4 will see there are 2 joining rooms. and will be tasked with deleting the tile maps, and expanding one to include all the room tiles.
ah man... ill take a break and do some physical activity. im new at this and there are too many layers of planning.
even if you know what this process is called, so i can look for guides, it would help. thanks