/// <summary> /// Loads the resources. Must be called before first use of any other class method. /// </summary> /// <param name="contentManager">Monogame content manager.</param> public void LoadContent(ContentManager contentManager) { _commandDefinitionsContainer = contentManager.Load <CommandDefinitionsContainer>("XML\\CommandDefinitions"); _commandsManager.LoadContent(_commandDefinitionsContainer); }