コード例 #1
0
ファイル: GameState.cs プロジェクト: healerrend/Cora-Code
 /// <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
ファイル: GameState.cs プロジェクト: healerrend/Cora-Code
 /// <summary>
 /// This method fires to begin the game.
 /// </summary>
 public void initialize()
 {
     cameraScale = 1;
     state = new IntroSplashState();
     state.loadState(this, content);
 }