Luanti 5.16.0-dev
Loading...
Searching...
No Matches
GridNodeContainer Class Referenceabstract

Abstract class to manage the map data. More...

Inheritance diagram for GridNodeContainer:
Collaboration diagram for GridNodeContainer:

Public Member Functions

virtual PathGridnodeaccess (v3s16 p)=0
virtual ~GridNodeContainer ()=default

Protected Member Functions

void initNode (v3s16 ipos, PathGridnode *p_node)

Protected Attributes

Pathfinderm_pathf

Detailed Description

Abstract class to manage the map data.

Constructor & Destructor Documentation

◆ ~GridNodeContainer()

virtual GridNodeContainer::~GridNodeContainer ( )
virtualdefault

Member Function Documentation

◆ access()

virtual PathGridnode & GridNodeContainer::access ( v3s16 p)
pure virtual

Implemented in ArrayGridNodeContainer, and MapGridNodeContainer.

References p().

Here is the call graph for this function:

◆ initNode()

void GridNodeContainer::initNode ( v3s16 ipos,
PathGridnode * p_node )
protected

References CONTENT_IGNORE, DEBUG_OUT, DIR_XM, DIR_XP, DIR_ZM, DIR_ZP, PathGridnode::directions, NodeDefManager::get(), m_pathf, 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:

Member Data Documentation

◆ m_pathf


The documentation for this class was generated from the following file: