def spawnWalls():
	walls = [None] * nbWalls
	for i in range(nbWalls):
		walls[i] = buildingType('wall', *wallCoordinates)
	return walls
示例#2
0
def spawnWalls():
    walls = [None] * nbWalls
    for i in range(nbWalls):
        walls[i] = buildingType('wall', *wallCoordinates)
    return walls
def spawnBuilding():
	buildings = [None] * nbBuildings
	for i in range(nbBuildings):
		buildings[i] = buildingType('office', *buildingCoordinates)
	return buildings
示例#4
0
def spawnBuilding():
    buildings = [None] * nbBuildings
    for i in range(nbBuildings):
        buildings[i] = buildingType('office', *buildingCoordinates)
    return buildings