Exemple #1
0
        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();
        }
Exemple #2
0
 public TaskEat(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner)
 {
 }
Exemple #3
0
 public TaskSow(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner)
 {
 }