Example #1
0
        public CacheWinInfo resumeCacheWin(UIWindow win)
        {
            win.IsReadyToHide = true;
            CacheWinInfo info = popCacheWinInfo();

            if (info != null)
            {
                info.resumeWin();
            }
            return(info);
        }
Example #2
0
 public void pushCacheWinInfo(CacheWinInfo info)
 {
     if (info != null)
     {
         cacheWinInfos_.Push(info);
     }
     else
     {
         Debug.Log("pushCacheWinInfo info = null");
     }
 }
Example #3
0
 public CacheWinInfo popCacheWinInfo()
 {
     if (cacheWinInfos_.Count > 0)
     {
         CacheWinInfo info = cacheWinInfos_.Pop();
         return(info);
     }
     else
     {
         Debug.Log("popCacheWinInfo cacheWinInfos_ count = 0");
         return(null);
     }
 }
Example #4
0
 virtual public void show(CacheWinInfo info)
 {
     show();
 }