Exemplo n.º 1
0
 private void ExcutePush(FageUIManager manager, FageUIRequest request)
 {
     Stack stack = manager.GetStack ();
     if (stack.Count > 0) {
         FageUIMem current = stack.Peek () as FageUIMem;
         current.Destroy ();
         this.current = current;
     } else {
         manager.ReserveState("FageUIManagerSwitch");
     }
 }
Exemplo n.º 2
0
 private void ExcutePopdown(FageUIManager manager, FageUIRequest request)
 {
     Queue queue = manager.GetQueue ();
     if (queue.Count > 0) {
         FageUIPopupMem current = queue.Peek () as FageUIPopupMem;
         current.Destroy ();
         this.current = current;
     } else {
         manager.ReserveState("FageUIManagerSwitch");
     }
 }
Exemplo n.º 3
0
 private void ExcutePopdown(FageUIManager manager, FageUIRequest request)
 {
     Queue queue = manager.GetQueue ();
     if (queue.Count > 0) {
         FageUIPopupMem current = queue.Peek () as FageUIPopupMem;
         this.current = current;
         current.Instantiate (manager.canvas, request.param);
     } else {
         manager.GetRequests ().Dequeue ();
         manager.ReserveState ("FageUIManagerIdle");
         return;
     }
 }
Exemplo n.º 4
0
 private void ExcutePop(FageUIManager manager, FageUIRequest request)
 {
     Stack stack = manager.GetStack ();
     if (stack.Count > 0) {
         FageUIMem current = stack.Peek () as FageUIMem;
         this.current = current;
         current.Resume(manager.canvas, request.param);
     } else {
         manager.GetRequests ().Dequeue ();
         manager.ReserveState ("FageUIManagerIdle");
         return;
     }
 }
Exemplo n.º 5
0
    private void ExcutePopdown(FageUIManager manager, FageUIRequest request)
    {
        Queue queue = manager.GetQueue();

        if (queue.Count > 0)
        {
            FageUIPopupMem current = queue.Peek() as FageUIPopupMem;
            current.Destroy();
            this.current = current;
        }
        else
        {
            manager.ReserveState("FageUIManagerSwitch");
        }
    }
Exemplo n.º 6
0
    private void ExcutePush(FageUIManager manager, FageUIRequest request)
    {
        Stack stack = manager.GetStack();

        if (stack.Count > 0)
        {
            FageUIMem current = stack.Peek() as FageUIMem;
            current.Destroy();
            this.current = current;
        }
        else
        {
            manager.ReserveState("FageUIManagerSwitch");
        }
    }
Exemplo n.º 7
0
    private void ExcutePopdown(FageUIManager manager, FageUIRequest request)
    {
        Queue queue = manager.GetQueue();

        if (queue.Count > 0)
        {
            FageUIPopupMem current = queue.Peek() as FageUIPopupMem;
            this.current = current;
            current.Instantiate(manager.canvas, request.param);
        }
        else
        {
            manager.GetRequests().Dequeue();
            manager.ReserveState("FageUIManagerIdle");
            return;
        }
    }
Exemplo n.º 8
0
    private void ExcutePop(FageUIManager manager, FageUIRequest request)
    {
        Stack stack = manager.GetStack();

        if (stack.Count > 0)
        {
            FageUIMem current = stack.Peek() as FageUIMem;
            this.current = current;
            current.Resume(manager.canvas, request.param);
        }
        else
        {
            manager.GetRequests().Dequeue();
            manager.ReserveState("FageUIManagerIdle");
            return;
        }
    }