forked from mirror/DotRecast
26 lines
666 B
C#
26 lines
666 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace DotRecast.Recast
|
|||
|
{
|
|||
|
public class Region
|
|||
|
{
|
|||
|
public int spanCount; // Number of spans belonging to this region
|
|||
|
public int id; // ID of the region
|
|||
|
public int areaType; // Are type.
|
|||
|
public bool remap;
|
|||
|
public bool visited;
|
|||
|
public bool overlap;
|
|||
|
public bool connectsToBorder;
|
|||
|
public int ymin, ymax;
|
|||
|
public List<int> connections;
|
|||
|
public List<int> floors;
|
|||
|
|
|||
|
public Region(int i)
|
|||
|
{
|
|||
|
id = i;
|
|||
|
ymin = 0xFFFF;
|
|||
|
connections = new List<int>();
|
|||
|
floors = new List<int>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|