Dwarrowdelf.Jobs.Assignments.MoveAssignment.GetPath C# (CSharp) Méthode

GetPath() protected méthode

protected GetPath ( ILivingObject worker ) : Queue
worker ILivingObject
Résultat Queue
        protected override Queue<Direction> GetPath(ILivingObject worker)
        {
            var path = AStar.Find(m_environment, worker.Location, m_dest, this.Positioning);

            if (path == null)
                return null;

            return new Queue<Direction>(path);
        }