def __init__(self, x=0, y=0, w=0, h=0, player_oid=-1): ObjectData.__init__(self, x, y, w, h) self.range = 0.0 # distance to travel self.power = 0.0 # damage caused self.player_oid = player_oid # player that shot this missile self.hit_max_range = False # True if died because traveled maximum distance without hitting anything return
def __init__(self, x=0, y=0, w=0, h=0, player_oid=-1): ObjectData.__init__(self, x, y, w, h) self.range = 0.0 # distance to travel self.power = 0.0 # damage caused self.player_oid = player_oid # player that shot this missile self.hit_max_range = False # True if died because traveled maximum distance without hitting anything return
def __init__(self, x=0, y=0, w=0, h=0): ObjectData.__init__(self, x, y, w, h) self.experience = 0.0 self.missile_range = 0.0 self.missile_dx = 0.0 self.missile_dy = 0.0 self.missile_power = 0.0 self.missile_mana = 0.0 self.missile_mana_recharge_rate = 0.0 self.missile_mana_max = 0.0 self.move_mana = 0.0 self.move_mana_recharge_rate = 0.0 self.move_mana_max = 0.0 return
def __init__(self, x=0, y=0, w=0, h=0): ObjectData.__init__(self, x, y, w, h) self.experience = 0.0 self.missile_range = 0.0 self.missile_dx = 0.0 self.missile_dy = 0.0 self.missile_power = 0.0 self.missile_mana = 0.0 self.missile_mana_recharge_rate = 0.0 self.missile_mana_max = 0.0 self.move_mana = 0.0 self.move_mana_recharge_rate = 0.0 self.move_mana_max = 0.0 return
def __init__(self, x=0, y=0, w=0, h=0): ObjectData.__init__(self, x, y, w, h) return
def __init__(self, x=0, y=0, w=0, h=0): ObjectData.__init__(self, x, y, w, h) return