コード例 #1
0
 public void OpenSettingsMenuScreen(object sender, ScreenEventArgs args)
 {
     SettingsMenuScreen settings = new SettingsMenuScreen(ScreenManager);
     settings.ScreenManager = ScreenManager;
     screenManager.AddScreen(settings);
 }
コード例 #2
0
ファイル: PauseScreen.cs プロジェクト: deshpr/TicTacToeGame
        public void OnSettings(object sender, Screen_Event_Handlers.ScreenEventArgs e)
        {
            SettingsMenuScreen settings = new SettingsMenuScreen(ScreenManager);
            TicTacToeScreen s = (TicTacToeScreen)sender;

            settings.LoadContent();
            ScreenManager.AddScreen(settings);
        }