Exemplo n.º 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();
        }
Exemplo n.º 2
0
 public TaskEat(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner)
 {
 }
Exemplo n.º 3
0
 public TaskSow(TaskData taskData, TaskRunner taskRunner) : base(taskData, taskRunner)
 {
 }