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