public void AddToPath(Vector2[] location, bool enqueueNextAction = false) { if (!enqueueNextAction) { QueuedMoves = new Queue <Vector2[]>(); AttackTarget = null; } QueuedMoves.Enqueue(location); }
public void ForceHalt() { AttackTarget = null; QueuedMoves.Clear(); }