Ejemplo n.º 1
0
 public StartMenuScreen(
     ISaveGameService saveService,
     ISoundsManager soundsManager)
 {
     _saveService   = saveService;
     _soundsManager = soundsManager;
 }
Ejemplo n.º 2
0
        public GameMenuScreen(ISaveGameService saveService, ISoundsManager soundsManager)
        {
            if (saveService == null)
            {
                throw new ArgumentNullException(nameof(saveService));
            }

            _saveService   = saveService;
            _soundsManager = soundsManager;
        }
Ejemplo n.º 3
0
 public SettingsScreen(ISoundsManager sounds, ISettingsService settings)
 {
     _sounds   = sounds;
     _settings = settings;
 }