Esempio n. 1
0
 virtual public void dispose()
 {
     if (m_uiF != null)
     {
         m_uiF.dispose();
     }
     g_mgr = null;
     m_uiF = null;
 }
Esempio n. 2
0
 virtual public void dispose()
 {
     if (_win != null)
     {
         _win.dispose();
     }
     _eventReceiver = null;
     g_mgr          = null;
     _ctrl          = null;
 }
Esempio n. 3
0
        public virtual void dispose()
        {
            bool flag = this.m_uiF != null;

            if (flag)
            {
                this.m_uiF.dispose();
            }
            this.g_mgr = null;
            this.m_uiF = null;
        }
Esempio n. 4
0
        public virtual void dispose()
        {
            bool flag = this._win != null;

            if (flag)
            {
                this._win.dispose();
            }
            this._eventReceiver = null;
            this.g_mgr          = null;
            this._ctrl          = null;
        }
Esempio n. 5
0
 public override void init()
 {
     new AttAniManager(this);
     UIClient.instance = this;
     base.addEventListener(4001u, new Action <GameEvent>(this.openUI));
     base.addEventListener(4002u, new Action <GameEvent>(this.closeUI));
     base.addEventListener(4003u, new Action <GameEvent>(this.openSwitch));
     base.addEventListener(3301u, new Action <GameEvent>(this.onPlaySound));
     base.g_processM.addProcess(new processStruct(new Action <float>(this._getUIProcess), "UIClient_getUIProcess", false, false), false);
     base.g_processM.addProcess(new processStruct(new Action <float>(AttAniManager.singleton.process), "UIClient_AttAniManagerProcess", false, false), false);
     this.onInit();
 }
Esempio n. 6
0
        override public void init()
        {
            new AttAniManager(this);
            instance = this;

            this.addEventListener(UI_EVENT_DEFAULT.UI_OPEN, openUI);
            this.addEventListener(UI_EVENT_DEFAULT.UI_CLOSE, closeUI);
            this.addEventListener(UI_EVENT_DEFAULT.UI_OPEN_SWITCH, openSwitch);

            this.addEventListener(GAME_EVENT_DEFAULT.LG_MEDIA_PLAY, onPlaySound);

            this.g_processM.addProcess(new processStruct(_getUIProcess, "UIClient_getUIProcess"));

            this.g_processM.addProcess(new processStruct(AttAniManager.singleton.process, "UIClient_AttAniManagerProcess"));



            onInit();
        }
Esempio n. 7
0
 public BaseLGUI(UIClient m)
 {
     g_mgr = m;
 }
Esempio n. 8
0
 public UIbase(UIClient m)
 {
     this.g_mgr = m;
     this._eventReceiver["onMouseClkBtnClose"] = new Action <IUIBaseControl, Event>(this.onMouseClkBtnClose);
 }
 public AttAniManager(UIClient m)
 {
     singleton = this;
     g_mgr     = m;
 }
Esempio n. 10
0
 public UIbase(UIClient m)
 {
     g_mgr = m;
     _eventReceiver["onMouseClkBtnClose"] = onMouseClkBtnClose;
 }
Esempio n. 11
0
 public BaseLGUI(UIClient m)
 {
     this.g_mgr = m;
 }
Esempio n. 12
0
 public AttAniManager(UIClient m)
 {
     AttAniManager.singleton = this;
     this.g_mgr = m;
 }