Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
DistanceSortedActiveObject Class Reference

#include <clientobject.h>

+ Collaboration diagram for DistanceSortedActiveObject:

Public Member Functions

 DistanceSortedActiveObject (ClientActiveObject *a_obj, f32 a_d)
 
bool operator< (const DistanceSortedActiveObject &other) const
 

Public Attributes

ClientActiveObjectobj
 

Private Attributes

f32 d
 

Constructor & Destructor Documentation

◆ DistanceSortedActiveObject()

DistanceSortedActiveObject::DistanceSortedActiveObject ( ClientActiveObject * a_obj,
f32 a_d )
inline

References d, and obj.

Member Function Documentation

◆ operator<()

bool DistanceSortedActiveObject::operator< ( const DistanceSortedActiveObject & other) const
inline

References d.

Member Data Documentation

◆ d

f32 DistanceSortedActiveObject::d
private

◆ obj

ClientActiveObject* DistanceSortedActiveObject::obj

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