public void Should_Add_Screen_To_Stack() { _stack.Clear(); _stack.Add(_screen); Assert.IsNotNull(_stack.Screens); Assert.IsTrue(_stack.Screens.Count == 1); }
void Start() { if (!State.Profile.IsAuthenticated) { OpenScreenWithoutTransition(gameScreen, loginScreen); return; } _stack.Add(gameScreen); }