// Copyright (c) 2014 Robert Rouhani and other contributors (see CONTRIBUTORS file). // Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE namespace SharpNav.Pathfinding { /// /// Uses the PolyMesh polygon data for pathfinding /// public class Poly { /// /// Polygon type /// private PolygonType polyType; /// /// Gets or sets the index to first link in linked list /// public int FirstLink { get; set; } /// /// Gets or sets the indices of polygon's vertices /// public int[] Verts { get; set; } /// /// Gets or sets packed data representing neighbor polygons references and flags for each edge /// public int[] Neis { get; set; } //TODO turn flags into a Tag object, which is more standard for C# /// /// Gets or sets a user defined polygon flags /// public int Flags { get; set; } /// /// Gets or sets the number of vertices /// public int VertCount { get; set; } /// /// Gets or sets the AreaId /// public Area Area { get; set; } /// /// Gets or sets the polygon type (ground or offmesh) /// public PolygonType PolyType { get { return polyType; } set { polyType = value; } } } }