//private List<INpcFacade> _npcFacades = new List<INpcFacade>(); public NpcSpawner( NpcCollectionFactory factory, INpcRegistry registry ) { _factory = factory; _registry = registry; }
void Inject( INpcAiUseCase aiUseCase, INpcMoveUseCase moveUseCase, INpcParamUseCase paramUseCase, INpcRegistry registry, List <INpcActionUseCase> actions ) { _aiUseCase = aiUseCase; _moveUseCase = moveUseCase; _paramUseCase = paramUseCase; _registry = registry; _actionUseCases = actions.ToDictionary(a => a.TargetPattern); }
public NpcAiUseCase( INpcRegistry registry ) { _registry = registry; }