예제 #1
0
    def __init__(self):
        self.disabled = False
        self.__updateTimer = SafeTimer(1000, self.updateTargets)
        self.__repopulateEligible = SafeTimer(60000,
                                              self.populateEligibleBalls)
        self.__balls = {}
        self.__eligibleBalls = set()
        self.__lockedTargets = set()

        runOnMainThread(self.populateBalls)
 def __init__(self):
     self.disabled = False
     self.probesset = False
     self.firstscan = False
     self.scanstep = 8
     self.lastcert = 0
     self.__updateTimer = SafeTimer(2334, self.AutoScanTimer)
예제 #3
0
 def __init__(self):
     self.disabled = False
     self.__updateTimer = SafeTimer(250, self.updateWeapons)
     self.__ammoChanges = {}
     self.__hookedMethods = []
     self.__activeModules = {}
     self.__lastAttackOrder = None
예제 #4
0
 def __init__(self):
     self.__drones = {}
     self.__pendingStateChanges = {}
     self.__lastAttackOrder = None
     self.__lastLaunchTimestamp = 0
     self.__recalling = set()
     self.__recalled = []
     self.__numFighters = 0
     self.__numSentries = 0
     self.__updateTimer = SafeTimer(1000, self.updateDrones)
     self.disabled = False
예제 #5
0
 def __init__(self):
     self.disabled = False
     self.__updateTimer = SafeTimer(1000, self.updateTargets)
     self.__activeBlinks = {}
예제 #6
0
 def __init__(self):
     self.disabled = False
     self.__updateTimer = SafeTimer(250, self.updateModules)