Public Member Functions | |
virtual | ~ArrayGridNodeContainer ()=default |
ArrayGridNodeContainer (Pathfinder *pathf, v3s16 dimensions) | |
virtual PathGridnode & | access (v3s16 p) |
Public Member Functions inherited from GridNodeContainer | |
virtual | ~GridNodeContainer ()=default |
Private Attributes | |
int | m_x_stride |
int | m_y_stride |
std::vector< PathGridnode > | m_nodes_array |
Additional Inherited Members | |
Protected Member Functions inherited from GridNodeContainer | |
void | initNode (v3s16 ipos, PathGridnode *p_node) |
Protected Attributes inherited from GridNodeContainer | |
Pathfinder * | m_pathf |
|
virtualdefault |
ArrayGridNodeContainer::ArrayGridNodeContainer | ( | Pathfinder * | pathf, |
v3s16 | dimensions ) |
References access(), INFO_TARGET, GridNodeContainer::initNode(), m_nodes_array, and GridNodeContainer::m_pathf.
|
virtual |
Implements GridNodeContainer.
References m_nodes_array, m_x_stride, m_y_stride, and p().
Referenced by ArrayGridNodeContainer().
|
private |
Referenced by ArrayGridNodeContainer(), and access().
|
private |
Referenced by access().
|
private |
Referenced by access().