Exemplo n.º 1
0
        private void loadContent( )
        {
            foreach ( Scene scene in this.scenes )
                scene.LoadContent ( );

            if ( null != this.Loaded )
            {
                SceneLoaderEventArgs loadedArg = new SceneLoaderEventArgs ( this.scenes, this.afterSceneTypes );

                this.Loaded ( this, loadedArg );
                loadedArg.Dispose ( );
            }
        }
Exemplo n.º 2
0
        private void loaded( object sender, SceneLoaderEventArgs e )
        {
            this.Close ( );

            if ( null != this.Loaded )
                this.Loaded ( this, e );
        }