Flood Fill Use the flood fill algorithm to determine the room id. Left Mouse Button - set block Right Mouse Button - remove block