Abstract class to manage the map data. More...
Inheritance diagram for GridNodeContainer:
Collaboration diagram for GridNodeContainer:Public Member Functions | |
| virtual PathGridnode & | access (v3s16 p)=0 |
| virtual | ~GridNodeContainer ()=default |
Protected Member Functions | |
| void | initNode (v3s16 ipos, PathGridnode *p_node) |
Protected Attributes | |
| Pathfinder * | m_pathf |
Abstract class to manage the map data.
|
virtualdefault |
|
pure virtual |
Implemented in ArrayGridNodeContainer, and MapGridNodeContainer.
Referenced by Pathfinder::getIdxElem(), and Pathfinder::getIndexElement().
Here is the caller graph for this function:
|
protected |
References Pathfinder::calcCost(), CONTENT_IGNORE, DEBUG_OUT, DIR_XM, DIR_XP, DIR_ZM, DIR_ZP, PathGridnode::directions, NodeDefManager::get(), Map::getNode(), Pathfinder::getRealPos(), Pathfinder::m_map, Pathfinder::m_ndef, m_pathf, Pathfinder::m_prefetch, MapNode::param0, PathGridnode::pos, PathGridnode::type, PathGridnode::valid, and ContentFeatures::walkable.
Referenced by ArrayGridNodeContainer::ArrayGridNodeContainer(), and MapGridNodeContainer::access().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |