Пример #1
0
 def __init__(self, ws_client, unit_ctrl, rule_ctrl, player_ctrl, map_ctrl,
              city_ctrl):
     ActionList.__init__(self, ws_client)
     self.unit_ctrl = unit_ctrl
     self.rule_ctrl = rule_ctrl
     self.player_ctrl = player_ctrl
     self.map_ctrl = map_ctrl
     self.city_ctrl = city_ctrl
     self.unit_data = {}
Пример #2
0
 def __init__(self, ws_client, rule_ctrl, players, clstate):
     ActionList.__init__(self, ws_client)
     self.players = players
     self.clstate = clstate
     self.rule_ctrl = rule_ctrl
Пример #3
0
 def __init__(self, ws_client, rule_ctrl):
     ActionList.__init__(self, ws_client)
     self.rule_ctrl = rule_ctrl
Пример #4
0
 def __init__(self, ws_client, rulectrl, city_list, map_ctrl):
     ActionList.__init__(self, ws_client)
     self.rulectrl = rulectrl
     self.cities = city_list
     self.city_map = CityTileMap(1, map_ctrl)