コード例 #1
0
 def __init__(self, new_game_engine):
     super().__init__(new_game_engine)
     self.type = TILE_BROWN_10
     self.hexes.hex_collection[0] = hexes.Hex_Hill(0)
     self.hexes.hex_collection[1] = hexes.Hex_Hill(1)
     self.hexes.hex_collection[2] = hexes.Hex_Forest(2)
     self.hexes.hex_collection[3] = hexes.Hex_Swamp(3)
     self.hexes.hex_collection[4] = hexes.Hex_Lake(4)
     self.hexes.hex_collection[5] = hexes.Hex_Forest(5)
     self.hexes.hex_collection[6] = hexes.Hex_Swamp(6)
コード例 #2
0
 def __init__(self, new_game_engine):
     super().__init__(new_game_engine)
     self.type = TILE_BROWN_5_GREEN_CITY
     self.hexes.hex_collection[0] = hexes.Hex_Swamp(0)
     self.hexes.hex_collection[1] = hexes.Hex_Forest(1)
     self.hexes.hex_collection[2] = hexes.Hex_Lake(2)
     self.hexes.hex_collection[3] = hexes.Hex_Forest(3)
     self.hexes.hex_collection[4] = hexes.Hex_Swamp(4)
     self.hexes.hex_collection[5] = hexes.Hex_Swamp(5)
     self.hexes.hex_collection[6] = hexes.Hex_City(6)
コード例 #3
0
 def __init__(self, new_game_engine):
     super().__init__(new_game_engine)
     self.type = TILE_GREEN_8
     self.hexes.hex_collection[0] = hexes.Hex_Swamp(0)
     self.hexes.hex_collection[1] = hexes.Hex_Swamp(1)
     self.hexes.hex_collection[2] = hexes.Hex_Forest(2)
     self.hexes.hex_collection[3] = hexes.Hex_Forest(3)
     self.hexes.hex_collection[4] = hexes.Hex_Forest(4)
     self.hexes.hex_collection[5] = hexes.Hex_Plain(5)
     self.hexes.hex_collection[6] = hexes.Hex_Swamp(6)
コード例 #4
0
 def __init__(self, new_game_engine):
     super().__init__(new_game_engine)
     self.type = TILE_GREEN_13
     self.hexes.hex_collection[0] = hexes.Hex_Forest(0)
     self.hexes.hex_collection[1] = hexes.Hex_Plain(1)
     self.hexes.hex_collection[2] = hexes.Hex_Swamp(2)
     self.hexes.hex_collection[3] = hexes.Hex_Forest(3)
     self.hexes.hex_collection[4] = hexes.Hex_Hill(4)
     self.hexes.hex_collection[5] = hexes.Hex_Lake(5)
     self.hexes.hex_collection[6] = hexes.Hex_Forest(6)
     self.walls.add_wall(3, 4)
     self.walls.add_wall(4, 6)
コード例 #5
0
 def __init__(self, new_game_engine):
     super().__init__(new_game_engine)
     self.type = TILE_GREEN_12
     self.hexes.hex_collection[0] = hexes.Hex_Mountain(0)
     self.hexes.hex_collection[1] = hexes.Hex_Plain(1)
     self.hexes.hex_collection[2] = hexes.Hex_Hill(2)
     self.hexes.hex_collection[3] = hexes.Hex_Mountain(3)
     self.hexes.hex_collection[4] = hexes.Hex_Swamp(4)
     self.hexes.hex_collection[5] = hexes.Hex_Hill(5)
     self.hexes.hex_collection[6] = hexes.Hex_Plain(6)
     self.walls.add_wall(1, 6)
     self.walls.add_wall(2, 6)
     self.walls.add_wall(5, 6)