/// <summary> /// Loads scene from file using given loader, that can read the file. /// </summary> /// <param name="fileName">File with the scene.</param> /// <param name="loader">Proper loader that can read the file.</param> public void LoadFrom(string fileName, ISceneLoader loader) { this.Clear(); loader.AddToSceneFrom(this, fileName); }