using System;
using System.Collections;
namespace Holo.Virtual.Rooms.Pathfinding
{
///
/// Represents a set of Coord objects. Together they form the path generated by the DenDribbelaerPathfinder.
///
public class dribbelaerPath
{
#region Declares
///
/// The coordinates of the path.
///
internal Stack Coords = new Stack();
#endregion
#region Methods
///
/// Returns the next Coord of the path and removes it from the stack.
///
internal Coord Pop()
{
try { return (Coord)Coords.Pop(); }
catch { return new Coord(-1, 0); }
}
#endregion
}
}