public InfiniteSectorManager(ISectorGenerator generator,
                              ISchemeService schemeService,
                              IBiomeInitializer biomeInitializer,
                              HumanPlayer humanPlayer)
 {
     _generator        = generator ?? throw new System.ArgumentNullException(nameof(generator));
     _schemeService    = schemeService ?? throw new System.ArgumentNullException(nameof(schemeService));
     _biomeInitializer = biomeInitializer ?? throw new System.ArgumentNullException(nameof(biomeInitializer));
     _humanPlayer      = humanPlayer;
 }
Exemplo n.º 2
0
 public GlobeInitializer(
     IBiomeInitializer biomeInitializer,
     IGlobeTransitionHandler globeTransitionHandler,
     ISchemeService schemeService,
     IActorTaskSource <ISectorTaskSourceContext> actorTaskSource,
     IPersonInitializer personInitializer)
 {
     _biomeInitializer       = biomeInitializer;
     _globeTransitionHandler = globeTransitionHandler;
     _schemeService          = schemeService;
     _actorTaskSource        = actorTaskSource;
     _personInitializer      = personInitializer;
 }
Exemplo n.º 3
0
 public GlobeService(IBiomeInitializer biomeInitializer)
 {
     _biomeInitializer = biomeInitializer;
 }