Пример #1
0
 public void closeFreeCardsPopup()
 {
     if (!this.freeCardsPopupClosing)
     {
         this.freeCardsPopupClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_freeCardsPopup))
         {
             GameEngine.Instance.EnableMouseClicks();
             this.closeGreyOut();
         }
         this.m_freeCardsPopup = null;
         this.freeCardsPopupClosing = false;
     }
 }
Пример #2
0
 public FreeCardsPopup openFreeCardsPopup()
 {
     this.openGreyOutWindow(true);
     this.closePopupWindow(this.m_freeCardsPopup);
     this.m_freeCardsPopup = new FreeCardsPopup();
     this.positionWindow(this.m_freeCardsPopup, false, false);
     this.m_freeCardsPopup.init();
     this.m_freeCardsPopup.Show(this.getGreyOutWindow());
     GameEngine.Instance.DisableMouseClicks();
     return this.m_freeCardsPopup;
 }