コード例 #1
0
ファイル: Engine.cs プロジェクト: slagusev/AndEngine.net
        private void InitLoadingScreen()
        {
            /* final */
            ITextureSource loadingScreenTextureSource = this.mEngineOptions.GetLoadingScreenTextureSource();
            /* final */
            Texture loadingScreenTexture = TextureFactory.CreateForTextureSourceSize(loadingScreenTextureSource);
            /* final */
            TextureRegion loadingScreenTextureRegion = TextureRegionFactory.CreateFromSource(loadingScreenTexture, loadingScreenTextureSource, 0, 0);

            this.SetScene(new SplashScene(this.GetCamera(), loadingScreenTextureRegion));
        }