Exemple #1
0
 def __init__(self):
     Ship.__init__(self)
     self.gfxTurretID = None
     self.fitted = False
     self.typeID = None
     self.modules = {}
     self.model = None
     self.launcherTypeID = None
Exemple #2
0
    def Release(self):
        if self.released:
            return
        for turretPair in self.modules.itervalues():
            if turretPair is not None:
                turretPair.Release()
                turretPair.owner = None

        self.modules = {}
        Ship.Release(self)
 def __init__(self):
     Ship.__init__(self)
     self._dirtTimeStamp = None
     self._killCounter = None
Exemple #4
0
 def OnSlimItemUpdated(self, slimItem):
     Ship.OnSlimItemUpdated(self, slimItem)
     self.UpdateDirtLevel()
     self.UpdateKillCounter()
Exemple #5
0
 def Assemble(self):
     Ship.Assemble(self)
     self.FitBoosters()
     self.UpdateDirtLevel()
     self.UpdateKillCounter()
Exemple #6
0
 def __init__(self):
     Ship.__init__(self)
     self._dirtTimeStamp = None
     self._killCounter = None
Exemple #7
0
 def Assemble(self):
     Ship.Assemble(self)
     self.FitBoosters(isNPC=True)
     self.SetupSharedAmbientAudio()