def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname) self.icon_emoji = ':bread:' self.destinations = dict() # string => Destination self.luncher_index = 0 self.load()
def __init__(self, posX=None, posY=None): width = 25 height = 32 Bot.__init__(self, posX, posY, "zombie", width, height) self.setStep(2) hp = 3 self.health = HealthBot(hp)
def __init__(self, posX = None, posY = None): width = 25 height = 32 Bot.__init__(self, posX, posY, "zombie", width, height) self.setStep(2) hp = 3 self.health = HealthBot(hp)
def __init__(self,cards, level="advanced",name="j1",allyName="j3",ennemyNames=["j2","j4"]): Bot.__init__(self,cards=cards,level=level,name=name,allyName=allyName,ennemyNames=ennemyNames) self.previouscounter={} #keep track of the last round self.announcetracker={} for color in const.liste_couleur : self.announcetracker[color]=False
def __init__(self, posX, posY): width = 40 height = 40 Bot.__init__(self, posX, posY, "spider", width, height) self.setStep(2) hp = 3 self.health = HealthBot(hp)
def __init__(self): self.hunger = 0 self.tiredness = 0 self.gender = random.choice(["F", "M"]) self.pregnant = False self.movingToFood = False Bot.__init__(self, namegen.human(self.gender), 0xBA6C49) self.doIn(random.randint(100, 250), "die")
def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname) self.icon_emoji = ":video_game:" self.games = [] self.user_options = defaultdict(set) # name => set([flag1, flag2...]) self.history = PS4History(negative_stats=set([Stats.scrub])) self.latest_stats_table = defaultdict( LatestStats) # channel => LatestStats self.load()
def __init__(self, resolution=(1920, 1080)): Bot.__init__(self) self.name = "fighter_bot" print("Created {}".format(self.name)) self.killed_mobs = 0 self.total_killed = 0 self.resolution = resolution self.screen_hdl = ImgProcessor(resolution) self.hp = 100 self.mp = 1003 self.sp = 100 self.pot_type = 0 self.pots = ['x', 'z']
def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname) self.icon_emoji = ':bar_chart:' self.reset() self.maybe_load()
def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname) self.icon_emoji = ':triumph:'
def __init__(self): Bot.__init__(self) self.position = (-1,-1) self.previous_position = (-1,-1) self.area = ones((Configuration.MAX_X_GRID+1, Configuration.MAX_Y_GRID+1), dtype=bool)
def __init__(self): Bot.__init__(self) self.name = "mage_bot" self.killed_mobs = 0 self.total_killed = 0 print("Created {}".format(self.name))
def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname)
def __init__(self, filename, server, channel, nick): self.grammar = {} self.parseGrammar(filename) Bot.__init__(self, server, channel, nick)
def __init__(self): Bot.__init__(self,Constants.PlayerType.USER)
def __init__(self, slackconnection, botname): Bot.__init__(self, slackconnection, botname) self.icon_emoji = ':soccer:' self.players = [] self.load()