예제 #1
0
파일: test_tomb.py 프로젝트: jdob/venture
    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()