Пример #1
0
 /// <summary>
 /// Allows the game to run logic such as updating the world,
 /// checking for collisions, gathering input, and playing audio.
 /// </summary>
 /// <param name="gameTime">Provides a snapshot of timing values.</param>
 void SetMenusNull()
 {
     the_menu      = null;
     the_game_over = null;
     the_win_menu  = null;
 }
Пример #2
0
 void SetGameOver()
 {
     SetEverythingNull();
     the_game_over = new GameOver(the_file);
     the_game_over.LoadContent(Content);
 }