Hi... again. This question is in relation to the one I asked just before, beleive it or not... <img src="smileys/smiley17.gif" border="0" align="middle" />
Anyway, I've got a system going where the player can build a "starship" out of square blocks, which are aligned on a grid. There are solid wall blocks, and ground blocks. I'm trying to make it so the player needs to build walls to build a room in the starship, and also need to place ground blocks in the empty space so the room is enclosed.
What method should I use to "detect" whether the room is "complete", ex there is wall blocks enclosing the entire room and there is ground blocks taking up the whole floor (no holes). Or better yet, is there a way to detect if a whole room is created, and then fill it in with ground?
As I said, the placing thing is all working. Just not the detection.
Or is this too complex a thing to do?