public static void SetContentManager(ContentManager contentManager) { if (Content == null) //Prevent reassigning ContentHandler after initially set { Content = new ContentHandler(contentManager); } }
public override void LoadContent(ContentHandler content) { content.Load("Maps/Europe", "Europe"); Textures = content.GetTextures(); Settings settings = new Settings("Europe", 30, 1, 0.1f); GameManager.Setup(settings, Textures); }
public override void UnloadContent(ContentHandler content) { content.Unload(); }
public abstract void UnloadContent(ContentHandler content);