예제 #1
0
        public void Should_Add_Screen_To_Stack()
        {
            _stack.Clear();

            _stack.Add(_screen);

            Assert.IsNotNull(_stack.Screens);
            Assert.IsTrue(_stack.Screens.Count == 1);
        }
예제 #2
0
        void Start()
        {
            if (!State.Profile.IsAuthenticated)
            {
                OpenScreenWithoutTransition(gameScreen, loginScreen);
                return;
            }

            _stack.Add(gameScreen);
        }