Пример #1
0
 /// <summary>
 /// This method will display an options menu over the current screen during pause.
 /// </summary>
 /// <param name="pack">see doPacket</param>
 public void displayOptions(doPacket pack)
 {
     tempState = new OptionsMenuState();
     tempState.loadState(this, content);
 }
Пример #2
0
 /// <summary>
 /// This method fires to begin the game.
 /// </summary>
 public void initialize()
 {
     cameraScale = 1;
     state = new IntroSplashState();
     state.loadState(this, content);
 }