示例#1
0
 public override void Push(StatePushParameters pushParameters)
 {
     Parameters = pushParameters as UIPushParameters;
     if (Parameters != null && Parameters.CreateNewPage)
     {
         CreatePage();
     }
     PreparePage();
 }
示例#2
0
        public void PushState <T>(StatePushParameters parameters) where T : State.State
        {
            GetStateInstance <T>(out var stateToPush);
            if (stateToPush == null)
            {
                return;
            }
            stateToPush.Push(parameters);

            if (stateToPush is UIState)
            {
                PushUIState(stateToPush as UIState);
            }
            else
            {
                PushLogicState(stateToPush as LogicState);
            }
        }
示例#3
0
 public override void Push(StatePushParameters pushParameters)
 {
     Parameters          = pushParameters as LoggedinStatePushParameters;
     CurrentSelectedUser = Parameters.user;
 }
示例#4
0
 public override void Push(StatePushParameters pushParameters)
 {
 }
示例#5
0
 public abstract void Push(StatePushParameters pushParameters);