示例#1
0
	def onWindowActivation(self, argsList):
		'Called when the game window activates or deactivates'
		bActive = argsList[0]
		
		if(bActive):
			EnhancedTechConquest.loadConfigurationData()
示例#2
0
    def __init__(self, eventManager):
        eventManager.addEventHandler("cityAcquired", self.onCityAcquired)
        eventManager.addEventHandler("windowActivation",
                                     self.onWindowActivation)

        EnhancedTechConquest.loadConfigurationData()
示例#3
0
	def __init__(self, eventManager):
		eventManager.addEventHandler("cityAcquired", self.onCityAcquired)
		eventManager.addEventHandler("windowActivation", self.onWindowActivation)
	
		EnhancedTechConquest.loadConfigurationData()
示例#4
0
 def onWindowActivation(self, argsList):
     bActive = argsList[0]
     if bActive:
         EnhancedTechConquest.loadConfigurationData()