public void AddScreen(Screen screen) { screen.ScreenState = ScreenStates.TransitionIn; screen.Initialize(); screen.LoadContent(); screens.AddFirst(screen); }
public void RemoveScreen(Screen screen) { screen.UnloadContent(); screens.Remove(screen); }