Example #1
0
    def _run_calculate(self, grid_size, corridor_size,
                       map_width, map_height):
        self.config.map_width = map_width
        self.config.map_height = map_height

        grid_size = grid_size
        corridor_size = corridor_size

        # Test
        t = Tomb(self.g, grid_size, corridor_size)
        return t._calculate_room_size()