public void DependencyInjection(ScreenManager screenManager) { ScreenManager = screenManager; Application = screenManager.Application; Content = Application.Content; ControlManager = new GameLayerManager(Application.Manager as CustomManager); }
public MenuManager(GameInfo gameInfo, GameLayerManager controlManager, Action returnToMainMenu) { ControlManager = controlManager; _gameInfo = gameInfo; _returnToMainMenu = returnToMainMenu; }