def __init__(self, texture): TankTurret.__init__(self, texture) print "Assault Gun Turret Initialised"
def __init__(self, texture): TankBody.__init__(self, texture) turret = TankTurret(sf.Texture.from_file("res/TankTurret.png")) self.set_turret(turret) turret.set_body(self)
def __init__(self, texture=sf.Texture.from_file("res/EnemyTankTurret.png")): TankTurret.__init__(self, texture) self.target = None