예제 #1
0
 def Release(self):
     PlayerOwnedStructure.Release(self, 'spaceObject.StructureSentryGun')
예제 #2
0
 def SetBuiltStructureGraphics(self, animate=0):
     PlayerOwnedStructure.SetBuiltStructureGraphics(self, animate)
     if gfxsettings.Get(gfxsettings.UI_TURRETS_ENABLED):
         self.FitHardpoints()
예제 #3
0
 def __init__(self):
     PlayerOwnedStructure.__init__(self)
     self.modules = {}
     self.fitted = False
     self.turretTypeID = None
     self.typeID = None
 def __init__(self):
     PlayerOwnedStructure.__init__(self)
     self.modules = {}
     self.fitted = False
     self.turretTypeID = None
     self.typeID = None
 def LoadModel(self, fileName=None, loadedModel=None):
     PlayerOwnedStructure.LoadModel(self, fileName, loadedModel)
     posState = self.typeData['slimItem'].posState
     if posState is None:
         return
     self.HandleStateChange(posState)
예제 #6
0
 def StartBuildingEffect(self, state, dogmaBuildingLength, elapsedTime):
     PlayerOwnedStructure.StartBuildingEffect(self, state,
                                              dogmaBuildingLength,
                                              elapsedTime)
     if gfxsettings.Get(gfxsettings.UI_TURRETS_ENABLED):
         self.FitHardpoints()