def __init__(self, x, y): super().__init__(x, y - assets.laser.get_height(), assets.laser, 0, 0, float("inf"), 1, False) sound_player.play_sound("zap") self.damaged_entities = [] self.count = 0
def __init__(self, x, y, downwards): super().__init__(x, y, assets.mine, 0, 0, float("inf"), 0, downwards) self.time = 0 self.cap = 100 + random.randint(0, 100) self.exploded = False sound_player.play_sound("minelaunching")
def __init__(self, x, y, downwards): super().__init__(x, y, assets.upmissile if not downwards else assets.downmissile, 0, 3 if downwards else -3, 1, 1, downwards) sound_player.play_sound("missilelaunching")
def __init__(self, x, y, downwards): super().__init__(x, y, assets.upbullet if not downwards else assets.downbullet, 0, 2 if downwards else -2, 1, 3, downwards) sound_player.play_sound("pew")
def __init__(self, x, y, damage=0, image=assets.explosion): super().__init__(x, y, image, 0, 0, float("inf"), damage, False) self.count = 0 sound_player.play_sound("explosion")
def __init__(self, x, y): super().__init__(x, y, assets.destructo_reaction, 0, 0, float("inf"), 0, False) sound_player.play_sound("explosion") self.count = 0
def __init__(self, x, y, downwards): super().__init__(x, y - 40, assets.plasma, 0, 0, float("inf"), 0, downwards) sound_player.play_sound("plasma") self.count = 0
def __init__(self, x, y): super().__init__(x, y, 0, image=assets.ion_ball) sound_player.play_sound("zap") entity.ions.append(self)