10 #ifndef Navigation_NavFloorRawPtr_H
11 #define Navigation_NavFloorRawPtr_H
35 explicit NavFloorRawPtr(
NavFloor* navFloor);
50 bool operator==(const NavFloorRawPtr& rhs) const;
51 bool operator!=(const NavFloorRawPtr& rhs) const;
69 KY_INLINE NavFloorRawPtr::NavFloorRawPtr() : m_navFloor(
KY_NULL) {}
85 #endif //Navigation_NavFloorRawPtr_H
This class is a runtime wrapper of a NavFloorBlob, it gathers all the runtime information associated ...
Definition: navfloor.h:40
The NavFloorBlob contains a connected and not overlapping part of triangle mesh static data within a ...
Definition: navfloorblob.h:42
const CellPos & GetCellPos() const
Returns a const reference to the CellPos that indicates the position of the cell that contains this N...
Definition: navfloorrawptr.h:86
const NavFloorBlob * GetNavFloorBlob() const
Retrieves the NavFloorBlob that contains the static data for this NavFloor.
Definition: navfloor.h:134
bool operator!=(const NavFloorRawPtr &rhs) const
Returns true if this object identifies a different NavFloor from rhs.
Definition: navfloorrawptr.h:82
#define KY_NULL
Null value.
Definition: types.h:247
const NavFloorBlob * GetNavFloorBlob() const
Returns a reference to the NavFloor identified by this object.
Definition: navfloorrawptr.h:85
NavFloorRawPtr()
Creates an invalid NavFloorRawPtr.
Definition: navfloorrawptr.h:74
NavFloor * GetNavFloor() const
Returns a reference to the NavFloor identified by this object.
Definition: navfloorrawptr.h:84
This class defines a two-dimensional vector whose coordinates are stored using 32-bit integers...
Definition: vec2i.h:26
Definition: gamekitcrowddispersion.h:20
void Set(NavFloor *navFloor)
Sets the information maintained by this object.
Definition: navfloorrawptr.h:76
void Invalidate()
Invalidates this object.
Definition: navfloorrawptr.h:79
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
bool IsActive() const
This function returns true if the NavFloor has been "activated" in term of overlap, dynamic version,...
Definition: navfloor.h:144
bool IsStillLoaded() const
This function returns false if the NavData containing corresponding NavFloorBlob has been removed fro...
Definition: navfloor.h:143
bool IsValid() const
Returns true if this object refers to a valid NavFloor, which means a NavFloor:that exists...
Definition: navfloorrawptr.h:78
bool operator==(const NavFloorRawPtr &rhs) const
Returns true if this object identifies the same NavFloor as rhs, or if both are invalid.
Definition: navfloorrawptr.h:81
const CellPos & GetCellPos() const
Returns the position of this NavFloor within the grid of NavData cells.
Definition: navfloor.h:146
Each instance of this class uniquely identifies a single NavFloor.
Definition: navfloorrawptr.h:30