This commit is contained in:
bridge
2025-10-25 21:54:31 +08:00
parent 8a7523caea
commit bdddecb614
7 changed files with 55 additions and 8 deletions

View File

@@ -15,6 +15,9 @@ class Map():
self.tiles = {}
self.width = width
self.height = height
# 维护“最终归属”的每个 region 的坐标集合(由分配流程写入)
# key: region.id, value: list[(x, y)]
self.region_cors: dict[int, list[tuple[int, int]]] = {}
# 加载所有region数据到Map中
self._load_regions()