bool RoomCollides(DRoom r) { foreach (DRoom r2 in unconnectedRooms) { if (r.CollidesWith(r2)) { return(true); } } foreach (DRoom r3 in edgeRooms) { if (r.CollidesWith(r3)) { return(true); } } return(false); }
bool RoomCollides(DRoom r) { foreach (DRoom r2 in rooms) { if (r.CollidesWith(r2)) { return(true); } } return(false); }
bool RoomCollides(DRoom r) { foreach(DRoom r2 in rooms) { if (r.CollidesWith(r2)) { return true; } } return false; }