Exemplo n.º 1
0
        internal virtual void Init( Scene scene )
        {
            this.scene = scene;

            if ( this is ILockable )
                ( this as ILockable ).Location += scene.Location;
        }
Exemplo n.º 2
0
        internal SceneLoader( World world, Scene[] scenes, Type[] afterSceneTypes )
        {
            if ( null == world )
                throw new ArgumentNullException ( "world", "world can't be null" );

            if ( null != scenes )
                foreach ( Scene scene in scenes )
                    if ( null != scene )
                    {
                        scene.World = world;
                        scene.IsClosed = false;

                        this.scenes.Add ( scene );
                    }

            this.afterSceneTypes = afterSceneTypes;
        }
Exemplo n.º 3
0
        internal override void Init( Scene scene )
        {
            base.Init ( scene );

            this.backgroundMovie.Init ( scene );
        }