def __init__(self, world, client): self._attacked_places = [] self._orders = {} self._previous_choose = {} self.neutral = client.neutral Player.__init__(self, world, client) self.set_ai(client.AI_type)
def __init__(self, world, client, neutral): self.attack_squares = [] self.previous_choose = {} self.already_researched = [] self.neutral = neutral if neutral: self.name = "npc_ai" Player.__init__(self, world, client) self.set_ai(client.AI_type)
def __init__(self, world, client): self.name = client.login Player.__init__(self, world, client)
def __init__(self, *args, **kargs): Player.__init__(self, *args)