gwnavgeneration/generator/intermediatefilesconfig.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_IntermediateFilesConfig_H
10 #define GwNavGen_IntermediateFilesConfig_H
30 void Add(
const CellPos& pos) { m_cellsPositions.PushBack(pos); }
32 bool DoesContain(
const CellPos& pos)
const {
return m_cellsPositions.DoesContain(pos); }
33 void Clear() { m_cellsPositions.Clear(); }
34 KyUInt32 GetCount()
const {
return m_cellsPositions.GetCount(); }
35 const CellPos& Get(
KyUInt32 index)
const {
return m_cellsPositions[index]; }
38 bool IsEnabled()
const {
return m_cellsPositions.GetCount() != 0; }
40 String GetFileName_RasterCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"RasterCell"); }
41 String GetFileName_NavRasterCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"NavRasterCell"); }
42 String GetFileName_BoundaryGraphCell(
const CellPos& cellPos)
const {
return GetFileName(cellPos,
"BoundaryGraphCell"); }
49 KyArray<CellPos> m_cellsPositions;
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:33
This class defines a two-dimensional vector whose coordinates are stored using 32-bit integers...
Definition: vec2i.h:26
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36