gwnavgeneration/generator/cellgenerator.h Source File
Go to the documentation of this file.
23 class GeneratorSystem;
24 class GeneratorNavDataElement;
34 CellGenerator() : m_sys(
nullptr), m_navCellHandler(
nullptr) {}
36 void Init(GeneratorSystem* sys,
const CellPos& cellPos, BlobHandler<NavCellBlob>* navCellHandler);
38 void ReserveInputCellArray(
KyUInt32 count) { m_inputCells.Reserve(count); }
40 void AddInputCell(
const InputCellBlob* inputCellBlob) { m_inputCells.PushBack(inputCellBlob); }
45 const CellDesc& Desc()
const {
return m_cellDesc; }
46 GeneratorSystem* Sys() {
return m_sys; }
47 CellGeneratorProfiling& CellProfiling() {
return m_cellProfiling; }
50 GeneratorSystem* m_sys;
52 KyArrayPOD<const InputCellBlob*> m_inputCells;
53 BlobHandler<NavCellBlob>* m_navCellHandler;
54 CellGeneratorProfiling m_cellProfiling;
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
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17