예제 #1
0
        public void DependencyInjection(ScreenManager screenManager)
        {
            ScreenManager = screenManager;

            Application    = screenManager.Application;
            Content        = Application.Content;
            ControlManager = new GameLayerManager(Application.Manager as CustomManager);
        }
예제 #2
0
        public void DependencyInjection(ScreenManager screenManager)
        {
            ScreenManager = screenManager;

            Application = screenManager.Application;
            Content = Application.Content;
            ControlManager = new GameLayerManager(Application.Manager as CustomManager);
        }
예제 #3
0
 public MenuManager(GameInfo gameInfo, GameLayerManager controlManager, Action returnToMainMenu)
 {
     ControlManager = controlManager;
     _gameInfo = gameInfo;
     _returnToMainMenu = returnToMainMenu;
 }