gwnavgeneration/generator/cellgenerator.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_CellGenerator_H
10 #define GwNavGen_CellGenerator_H
25 class GeneratorSystem;
26 class GeneratorNavDataElement;
36 CellGenerator() : m_sys(
KY_NULL), m_navCellHandler(KY_NULL) {}
38 void Init(GeneratorSystem* sys,
const CellPos& cellPos, BlobHandler<NavCellBlob>* navCellHandler);
40 void ReserveInputCellArray(
KyUInt32 count) { m_inputCells.Reserve(count); }
42 void AddInputCell(
const InputCellBlob* inputCellBlob) { m_inputCells.PushBack(inputCellBlob); }
47 const CellDesc& Desc()
const {
return m_cellDesc; }
48 GeneratorSystem* Sys() {
return m_sys; }
49 CellGeneratorProfiling& CellProfiling() {
return m_cellProfiling; }
52 GeneratorSystem* m_sys;
54 KyArrayPOD<const InputCellBlob*> m_inputCells;
55 BlobHandler<NavCellBlob>* m_navCellHandler;
56 CellGeneratorProfiling m_cellProfiling;
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:33
#define KY_NULL
Null value.
Definition: types.h:247
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