public Task(TaskData taskData, TaskRunner taskRunner) { this.taskRunner = taskRunner; this.character = taskData.character; this.targets = taskData.targets; this._ticksToPerform = taskData.ticksToPerform; if (this.taskRunner.def.targetType == TargetType.Adjacent) { this.targets.current.GetClosestAdj(this.character.position); } this.Start(); }
public TaskEat(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner) { }
public TaskSow(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner) { }