Exemple #1
0
 public BadgeSpawner(GameInfo info,
                     BadgeFacade.Factory badgeFactory,
                     BadgeFacade.Settings badgeSettings,
                     BadgeSpawnPoint.Registry spawnPointRegistry,
                     BadgeModel.Registry badgeRegistry,
                     GameEvents gameEvents)
 {
     Info               = info;
     BadgeFactory       = badgeFactory;
     BadgeSettings      = badgeSettings;
     SpawnPointRegistry = spawnPointRegistry;
     BadgeRegistry      = badgeRegistry;
     GameEvents         = gameEvents;
 }
Exemple #2
0
 public GameManager(GameInfo info,
                    [InjectOptional] History history,
                    [InjectOptional] BadgeFacade.Factory badgeFactory,
                    [InjectOptional] BadgeFacade.Settings badgeSettings,
                    [InjectOptional] BadgeSpawnPoint.Registry spawnRegistry,
                    IFetchService <History> historyFetchService,
                    ZenjectSceneLoader sceneLoader,
                    GameSettings gameSettings)
 {
     _info                = info;
     _history             = history;
     _badgeFactory        = badgeFactory;
     _badgeSettings       = badgeSettings;
     _spawnRegistry       = spawnRegistry;
     _historyFetchService = historyFetchService;
     _sceneLoader         = sceneLoader;
     _gameSettings        = gameSettings;
 }