修复漏参

This commit is contained in:
wszqkzqk 2022-07-29 17:08:48 +08:00
parent 5f4c571ff6
commit 20f6400e9a

View File

@ -41,8 +41,8 @@ class Map():
# 地图单元格状态 # 地图单元格状态
# 注意是可变对象,不能直接引用 # 注意是可变对象,不能直接引用
# 由于同一格显然不可能种两个相同的植物,所以用集合 # 由于同一格显然不可能种两个相同的植物,所以用集合
def initMapGrid(PLOT_TYPE): def initMapGrid(self, plot_type):
return {c.MAP_PLANT:set(), c.MAP_SLEEP:False, c.MAP_PLOT_TYPE:PLOT_TYPE} return {c.MAP_PLANT:set(), c.MAP_SLEEP:False, c.MAP_PLOT_TYPE:plot_type}
# 判断位置是否可用 # 判断位置是否可用
# 暂时没有写紫卡植物的判断方法 # 暂时没有写紫卡植物的判断方法