gwnavgeneration/generator/intermediatefilesconfig.h Source File
Go to the documentation of this file.
25 void Add(
const CellPos& pos) { m_cellsPositions.PushBack(pos); }
27 bool DoesContain(
const CellPos& pos)
const {
return m_cellsPositions.DoesContain(pos); }
28 void Clear() { m_cellsPositions.Clear(); }
29 KyUInt32 GetCount()
const {
return m_cellsPositions.GetCount(); }
30 const CellPos& Get(
KyUInt32 index)
const {
return m_cellsPositions[index]; }
33 bool IsEnabled()
const {
return m_cellsPositions.GetCount() != 0; }
35 String GetFileName_RasterCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"RasterCell"); }
36 String GetFileName_NavRasterCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"NavRasterCell"); }
37 String GetFileName_BoundaryGraphCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"BoundaryGraphCell"); }
44 KyArray<CellPos> m_cellsPositions;
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:30
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
2d vector using KyInt32
Definition: vec2i.h:18
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17