Horizon
Loading...
Searching...
No Matches
PNS::HIT_VISITOR Struct Reference
Inheritance diagram for PNS::HIT_VISITOR:
PNS::OBSTACLE_VISITOR

Public Member Functions

 HIT_VISITOR (ITEM_SET &aTab, const VECTOR2I &aPoint)
bool operator() (ITEM *aItem) override
Public Member Functions inherited from PNS::OBSTACLE_VISITOR
 OBSTACLE_VISITOR (const ITEM *aItem)
void SetWorld (const NODE *aNode, const NODE *aOverride=nullptr)

Public Attributes

ITEM_SETm_items
const VECTOR2I & m_point

Additional Inherited Members

Protected Member Functions inherited from PNS::OBSTACLE_VISITOR
bool visit (ITEM *aCandidate)
Protected Attributes inherited from PNS::OBSTACLE_VISITOR
const ITEMm_item
 the item we are looking for collisions with
const NODEm_node
 node we are searching in (either root or a branch)
const NODEm_override
 node that overrides root entries

Member Function Documentation

◆ operator()()

bool PNS::HIT_VISITOR::operator() ( ITEM * aItem)
inlineoverridevirtual

Implements PNS::OBSTACLE_VISITOR.


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