Esempio n. 1
0
 def __init__(self, texture):
     TankTurret.__init__(self, texture)
     print "Assault Gun Turret Initialised"
Esempio n. 2
0
 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)
Esempio n. 3
0
 def __init__(self, texture=sf.Texture.from_file("res/EnemyTankTurret.png")):
     TankTurret.__init__(self, texture)
     self.target = None
Esempio n. 4
0
 def __init__(self, texture):
     TankTurret.__init__(self, texture)
     print "Assault Gun Turret Initialised"