public ArtificialIntelligenceJfi(IEventAgent eventAgent, string id) : base(eventAgent, id) { _app = new App(new AIDto {EventAgent = eventAgent, Id = id, AI = this}); _eventProcessor = _app.Kernel.Get<IEventProcessor>(); _strategyProcessor = _app.Kernel.Get<ICHProcessor<Strategy>>(); _strategieFactory = _app.Kernel.Get<IStrategieFactory>(); _componentService = _app.Kernel.Get<ComponentService>(); }
public StrategieFactory(ComponentService componentService, ITryGetResultHandlingProcessor<UnitBase, Situation> situationHandlingProcessor, ICHProcessor<UnitStratey> unitStrategyProcessor) { _componentService = componentService; _situationHandlingProcessor = situationHandlingProcessor; _unitStrategyProcessor = unitStrategyProcessor; }