Пример #1
0
 // switched screen to instruction screen
 public void SwitchInstruct(Game1 game)
 {
     instructionScreen = new InstructionScreen(game); // makes new instruction screen
     currentScreen = Screen.InstructionScreen; // sets current screen to instruction screen
 }
Пример #2
0
 public void SwitchInstruct(Game1 game)               // switched screen to instruction screen
 {
     instructionScreen = new InstructionScreen(game); // makes new instruction screen
     currentScreen     = Screen.InstructionScreen;    // sets current screen to instruction screen
 }