Beispiel #1
0
        public Action.Priority moveToDropLocation()
        {
            Action.Priority result = Action.Priority.None;

            if (_bDropped == false)
            {
                return(Action.Priority.High);
            }

            return(result);
        }
Beispiel #2
0
        public Action.Priority leaveMap()
        {
            Action.Priority result = Action.Priority.None;


            if (_bDropped)
            {
                return(Action.Priority.High);
            }


            return(result);
        }
Beispiel #3
0
 public void newAction(Action.Priority priority, Action.Type type)
 {
     _actionQueue.Add(new Action(priority, type));
 }
Beispiel #4
0
 public void pushPriority(Action.Priority priority)
 {
     priorityStack.Add(priority);
 }