예제 #1
0
# Sid Meier's Civilization 4
# Copyright Firaxis Games 2005
#
# CvScreenUtilsInterface.py
#
# * This file stores the version of CvScreenUtils that is active
# * It is called from CvScreensInterface
# * When modding, this file should be replaced with one that has
#   screenUtils pointing to the mods <Mod>ScreenUtils
#
# No other modules should import this
#
#######################################
# Strategy Overlay Changed 10/20/2008
##
# Changed import to import CvOverlayScreenUtils
# Changed normalScreenUtils to return the CvOverlayScreenUtils class
# Placed in CustomAssets/Python/EntryPoints for bug mod use
##########################################

import CvOverlayScreenUtils

normalScreenUtils = CvOverlayScreenUtils.CvOverlayScreenUtils()


def getScreenUtils():
    return normalScreenUtils
예제 #2
0
 def freeze(self):
     if super(DotMapLayer, self).freeze():
         self.unhighlightCity()
         CvOverlayScreenUtils.hideOverlayScreen()
	def freeze(self):
		if super(DotMapLayer, self).freeze():
			self.unhighlightCity()
			CvOverlayScreenUtils.hideOverlayScreen()
예제 #4
0
 def edit(self):
     if super(DotMapLayer, self).edit():
         CvOverlayScreenUtils.showOverlayScreen()
	def edit(self):
		if super(DotMapLayer, self).edit():
			CvOverlayScreenUtils.showOverlayScreen()