Example #1
0
 /// <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);
 }
Example #2
0
 public void LeaveWorld()
 {
     Task leaveTask = new LeaveWorldTask()
     {
         Priority = Task.PriorityType.Urgent,
         AutoRetry = true,
         Name = "Leave the world."
     };
     Tasks.Add(leaveTask);
 }