2023-05-07 11:55:13 +03:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace DotRecast.Recast
|
|
|
|
|
{
|
2023-06-08 14:53:03 +03:00
|
|
|
|
public class RcRegion
|
2023-05-07 11:55:13 +03:00
|
|
|
|
{
|
|
|
|
|
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;
|
|
|
|
|
|
2023-06-08 14:53:03 +03:00
|
|
|
|
public RcRegion(int i)
|
2023-05-07 11:55:13 +03:00
|
|
|
|
{
|
|
|
|
|
id = i;
|
|
|
|
|
ymin = 0xFFFF;
|
|
|
|
|
connections = new List<int>();
|
|
|
|
|
floors = new List<int>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|