Пример #1
0
	def Close(self):
		print "---------------------------------------------------------------------------- CLOSE CREATE WINDOW"

		self.editCharacterName.Enable()
		self.dlgBoard.ClearDictionary()
		self.stream=0
		self.shapeButtonList = []
		self.genderButtonList = []
		self.btnCreate = 0
		self.btnCancel = 0
		self.btnPrev = 0
		self.btnNext = 0
		self.btnLeft = 0
		self.btnRight = 0
		self.textBoard = 0
		self.editCharacterName = 0
		self.backGround = None

		if musicInfo.createMusic != "":
			snd.FadeOutMusic("BGM/"+musicInfo.createMusic)

		for id in self.instanceIDs:
			chr.DeleteInstance(id)

		self.dlgBoard.Hide()
		self.Hide()

		app.HideCursor()
		event.Destroy()
    def Close(self):
        #print "---------------------------------------------------------------------------- CLOSE EMPIRE WINDOW"

        self.ClearDictionary()
        self.leftButton = None
        self.rightButton = None
        self.selectButton = None
        self.exitButton = None
        self.textBoard = None
        self.descriptionBox = None
        self.empireArea = None
        self.empireAreaButton = None

        if musicInfo.selectMusic != "":
            snd.FadeOutMusic("BGM/" + musicInfo.selectMusic)

        self.empireName = None
        self.EMPIRE_NAME = None
        self.EMPIRE_NAME_COLOR = None
        self.toolTip = None
        self.ShowToolTip = None
        self.btnPrev = None
        self.btnNext = None

        self.KillFocus()
        self.Hide()

        app.HideCursor()
        event.Destroy()
Пример #3
0
    def Close(self):
        print "---------------------------------------------------------------------------- CLOSE EMPIRE WINDOW"

        self.ClearDictionary()
        self.leftButton = None
        self.rightButton = None
        self.selectButton = None
        self.exitButton = None
        self.descriptionBox = None
        self.empireArea = None
        self.empireAreaButton = None

        self.KillFocus()
        self.Hide()

        app.HideCursor()
        event.Destroy()
    def Close(self):
        #print "##---------------------------------------- NEW INTRO SELECT CLOSE"
        del self.mycharacters
        self.EMPIRE_NAME = None
        self.EMPIRE_NAME_COLOR = None
        self.RACE_FACE_PATH = None
        self.DISC_FACE_PATH = None
        self.DESCRIPTION_FILE_NAME = None
        self.JOB_LIST = None

        ##Default Value##
        self.SelectSlot = None
        self.SelectEmpire = None
        self.ShowToolTip = None
        self.LEN_STATPOINT = None
        self.descIndex = None
        self.statpoint = None  #[]
        self.curGauge = None  #[]
        self.Name_FontColor_Def = None
        self.Name_FontColor = None
        self.Level_FontColor = None
        self.Not_SelectMotion = None
        self.MotionStart = None
        self.MotionTime = None
        self.RealSlot = None

        self.select_job = None
        self.select_race = None

        ##Open Func##
        self.dlgBoard = None
        self.backGround = None
        self.backGroundDict = None
        self.NameList = None  #[]
        self.empireName = None
        self.flag = None
        self.flagDict = None  #{}
        self.btnStart = None
        self.btnCreate = None
        self.btnDelete = None
        self.btnExit = None
        self.FaceImage = None  #[]
        self.CharacterButtonList = None  #[]
        self.statValue = None  #[]
        self.GaugeList = None  #[]
        self.textBoard = None
        self.btnPrev = None
        self.btnNext = None
        self.raceNameText = None
        #self.descPhaseText = None
        self.myID = None

        self.descriptionBox = None
        self.toolTip = None
        self.Disable = None

        if musicInfo.selectMusic != "":
            snd.FadeOutMusic("BGM/" + musicInfo.selectMusic)

        self.Hide()
        self.KillFocus()
        app.HideCursor()
        event.Destroy()
Пример #5
0
	def Close(self):
		#print "##---------------------------------------- NEW INTRO CREATE CLOSE"
		##Init Value##
		self.ShowToolTip = None
		self.createSuccess = None
		self.MotionStart = None
		self.MotionTime = None
		self.gender = None
		self.job_id = None
		self.shape = None
		self.descIndex = None
		self.statpoint = None
		self.curGauge  = None
			
		for i in xrange(self.LEN_JOBLIST * 2 - 1):
			chr.DeleteInstance(i)
			
		self.stream = None
		self.M2STATPOINT = None
		self.M2JOBLIST = None
		self.M2_CONST_ID = None
		self.LEN_JOBLIST = None
		self.LEN_STATPOINT = None
		self.M2_INIT_VALUE = None
		self.EMPIRE_NAME = None
		self.EMPIRE_NAME_COLOR = None
		self.DESCRIPTION_FILE_NAME = None
		self.RACE_FACE_PATH = None
		self.DISC_FACE_PATH = None
		self.NameList = None
		self.JobList = None
		self.SelectBtnNameList = None
		self.SelectBtnFaceList = None
		self.genderButtonList = None
		self.shapeButtonList = None
		self.statValue = None
		self.GaugeList = None
		self.flag = None
		self.flagDict = None
		self.raceNameText = None
		
		self.textBoard = None
		self.btnPrev = None
		self.btnNext = None
		self.btnCreate = None
		self.btnCancel = None
		self.empireName = None
		self.editCharacterName = None
		self.backGround = None
		self.backGroundDict = None
		self.toolTip = None
		self.JobSex = None
		self.dlgBoard.ClearDictionary()
		
		if musicInfo.createMusic != "":
			snd.FadeOutMusic("BGM/"+musicInfo.createMusic)
	
		self.dlgBoard.Hide()
		self.Hide()

		app.HideCursor()
		event.Destroy()