protected virtual ContentPackage CreatePackage(ContentManager content) { ContentPackage rendererPackage; if (!content.Packages.TryGetValue(RendererPackageName, out rendererPackage)) { rendererPackage = new ContentPackage(RendererPackageName); content.Add(rendererPackage); } return(rendererPackage); }
public abstract void Load(ContentPackage package);
public void Destroy(ContentPackage package) { contentPackages.Remove(package.Name); package.Dispose(); }
public void Add(ContentPackage package) { contentPackages.Add(package.Name, package); package.Manager = this; }