/// <summary> Tell the creature to find a path to the edge of the world and leave it. </summary> public void LeaveWorld() { Task leaveTask = new LeaveWorldTask { Priority = TaskPriority.Urgent, AutoRetry = true, Name = "Leave the world." }; AssignTask(leaveTask); }
public void LeaveWorld() { Task leaveTask = new LeaveWorldTask() { Priority = Task.PriorityType.Urgent, AutoRetry = true, Name = "Leave the world." }; Tasks.Add(leaveTask); }