You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
def test_map_and_produce(self):
#生成地图函数测试
for i in range(self._map_size):
for j in range(self._map_size):
if self._map[i][j]==0:
print(" ",end='')
elif self._map[i][j]==1:
print("*",end='')
else:
print("#",end='')
print()
#生产兵种函数测试
self.buildings[1]['produce'].append(
(Building(BuildingType.Shannon, (133, 133), 1, 2, False, self.status[1]['tech']), (122, 122))) #随便加了个建筑试了一下
self.produce_phase()
for item in self.units:
print(item)
for item in self.buildings:
print(item)
for item in self.status:
print(item)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: