public GoapAgent(ILogger logger, WowProcess wowProcess, ConfigurableInput input, PlayerReader playerReader, HashSet <GoapGoal> availableGoals, IBlacklist blacklist, ClassConfiguration classConfiguration, BagReader bagReader) { this.logger = logger; this.wowProcess = wowProcess; this.input = input; this.playerReader = playerReader; this.AvailableGoals = availableGoals.OrderBy(a => a.CostOfPerformingAction); this.blacklist = blacklist; this.planner = new GoapPlanner(logger); this.classConfiguration = classConfiguration; this.bagReader = bagReader; }
public StopMoving(WowProcessInput input, PlayerReader playerReader) { this.input = input; this.playerReader = playerReader; }
public Task <List <WowPoint> > FindRouteTo(PlayerReader playerReader, WowPoint destination) { return(FindRoute((int)playerReader.ZoneId, playerReader.PlayerLocation, destination)); }
public ItemsBrokenGoal(PlayerReader playerReader, ILogger logger) { this.playerReader = playerReader; this.logger = logger; }