Example #1
0
 public void SendAttackOrder(Vector3 position, bool directOrder, bool postpone)
 {
     if (!postpone)
     {
         if (directOrder)
         {
             Orders.Clear();
         }
         // To be implemented
         SendMessage("StopAction");
         AttackScript.MoveAttack(position);
     }
     else
     {
         Orders.AddLast(new Order(OrderName.Attack, position, null));
     }
 }