public LowHealthUnitsWalkTogetherRule(ComponentService componentService, AIDto ai, IRepository<GameEnvironment> gameEnvironmentRepository, IVector2Service vector2Service, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _vector2Service = vector2Service;
     _eventStoreService = eventStoreService;
     _gameEnvironment = gameEnvironmentRepository.Get();
 }
Пример #2
0
 public BuildBarrackRule(ComponentService componentService, AIDto ai, IOrientationService orientationService, IVector2Service vector2Service, IRepository<GameEnvironment> gameEnvironmentRepository, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _orientationService = orientationService;
     _vector2Service = vector2Service;
     _eventStoreService = eventStoreService;
     _gameEnvironment = gameEnvironmentRepository.Get();
 }
Пример #3
0
 public OrientationService(ComponentService componentService, IRepository<GameEnvironment> gameEnvironmentRepository, IVector2Service vector2Service)
 {
     _componentService = componentService;
     _vector2Service = vector2Service;
     _gameEnvironment = gameEnvironmentRepository.Get();
 }
 public GetMakesAttackSenseStrategy(IRepository<GameEnvironment> gameEnvironmentRepository)
 {
     _gameEnvironment = gameEnvironmentRepository.Get();
 }