Пример #1
0
    def onRevolution(self, argsList):
        'Called at the start of a revolution'
        iPlayer = argsList[0]

        sta.onRevolution(iPlayer)

        if iPlayer < iNumPlayers:
            dc.onRevolution(iPlayer)
            cnm.onRevolution(iPlayer)

        utils.checkSlaves(iPlayer)
	def onRevolution(self, argsList):
		'Called at the start of a revolution'
		iPlayer = argsList[0]
		
		sta.onRevolution(iPlayer)
		
		if iPlayer < iNumPlayers:
			dc.onRevolution(iPlayer)
			
		if gc.getPlayer(iPlayer).getCivics(1) == iCivicEgalitarianism:
			utils.clearSlaves(iPlayer)
			
		if iPlayer in [iEgypt]:
			cnm.onRevolution(iPlayer)
Пример #3
0
	def onRevolution(self, argsList):
		'Called at the start of a revolution'
		iPlayer = argsList[0]
		
		sta.onRevolution(iPlayer)
		
		if iPlayer < iNumPlayers:
			self.dc.onRevolution(iPlayer)
			
		if gc.getPlayer(iPlayer).getCivics(1) == con.iCivicEgalitarianism:
			utils.clearSlaves(iPlayer)
			
		if iPlayer in [con.iEgypt]:
			cnm.onRevolution(iPlayer)