private void startNewTask(Tasks.CreatureTasks neededTask) { currentTask = new CreatureTaskInstance(neededTask, currentTask.currentActionSteps, new Thing[0], creature); busy = true; }
public TaskManager(Creature creature) { currentTask = new CreatureTaskInstance(Tasks.CreatureTasks.NONE, new ActionStep[0], new Thing[0], creature); busy = false; this.creature = creature; }