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