RcRegion.cs 670 B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. namespace DotRecast.Recast
  3. {
  4. public class RcRegion
  5. {
  6. public int spanCount; // Number of spans belonging to this region
  7. public int id; // ID of the region
  8. public int areaType; // Are type.
  9. public bool remap;
  10. public bool visited;
  11. public bool overlap;
  12. public bool connectsToBorder;
  13. public int ymin, ymax;
  14. public List<int> connections;
  15. public List<int> floors;
  16. public RcRegion(int i)
  17. {
  18. id = i;
  19. ymin = 0xFFFF;
  20. connections = new List<int>();
  21. floors = new List<int>();
  22. }
  23. }
  24. }