def __init__(self, image, x, y): Object.__init__(self, image, x, y) self.whips = 5 self.gems = 20 self.maxGems = 150 self.teleports = 0 self.keys = 0 self.score = 0 self.invisible = False self.weapon = Whip() self.whipping = False self.whip_frame = 1
def __init__(self, image, x, y, damage, speed): Object.__init__(self, image, x, y) self.kind = 'mob' self.view_range = 5 # set how sensitive the mob is to seeing the player and movign toward them self.damage = damage self.speed = speed
def __init__(self, image, x,y, damage, speed): Object.__init__(self, image, x, y) self.kind = 'mob' self.view_range = 5 #set how sensitive the mob is to seeing the player and movign toward them self.damage = damage self.speed = speed