internal virtual void Init( Scene scene ) { this.scene = scene; if ( this is ILockable ) ( this as ILockable ).Location += scene.Location; }
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; }
internal override void Init( Scene scene ) { base.Init ( scene ); this.backgroundMovie.Init ( scene ); }