public void AddScreen(GameScreen screen) { _screens.Add(screen); if (_initialized) { screen.LoadContent(); } }
public void RemoveScreen(GameScreen screen) { screen.UnloadContent(); _screens.Remove(screen); }