public void setTitleScreen(TitleScreen newScreen) { this.z_titleScreen = newScreen; }
//Constructor public GameStateManager( TitleScreen titleScreen) { this.z_currentGameState = GameState.LoadingScreen; this.z_previousGameState = this.z_currentGameState; this.z_titleScreen = titleScreen; }
//Perform the first loading for the game public void InitialLoad(TitleScreen titleScreen) { //Load all necessary content for all Screens and Menus /* this.z_titleScreen = new TitleScreen(this.z_content.Load<Texture2D>("Screens\\LogoScreen"), this.z_content.Load<Texture2D>("Screens\\TitleOptions"), this.z_content.Load<Texture2D>("Screens\\ArrowSelection")); * */ this.z_initialLoadFinished = true; }