コード例 #1
0
ファイル: Game.cs プロジェクト: xerohour/scsharp
        void DisplayTitle()
        {
            /* create the title screen, and make sure we
             * don't start loading anything else until
             * it's on the screen */
            UIScreen screen = new TitleScreen(installedMpq);

#if notyet
            screen.FirstPainted += TitleScreenReady;
            SwitchToScreen(screen);
#else
            SwitchToScreen(screen);
            TitleScreenReady();
#endif
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: carriercomm/scsharp
		void DisplayTitle ()
		{
			/* create the title screen, and make sure we
			   don't start loading anything else until
			   it's on the screen */
			UIScreen screen = new TitleScreen (installedMpq);
#if notyet
			screen.FirstPainted += TitleScreenReady;
			SwitchToScreen (screen);
#else
			SwitchToScreen (screen);
			TitleScreenReady ();
#endif
		}