Planeshift
|
This class keeps the hit of natural resources found for the player and allows ordering of them in an array. More...
#include <workmanager.h>
Public Member Functions | |
NearNaturalResource (NaturalResource *res, float distance) | |
bool | operator< (const NearNaturalResource &oth) const |
Public Attributes | |
float | dist |
NaturalResource * | resource |
This class keeps the hit of natural resources found for the player and allows ordering of them in an array.
Definition at line 125 of file workmanager.h.
|
inline |
Definition at line 128 of file workmanager.h.
|
inline |
Definition at line 131 of file workmanager.h.
float NearNaturalResource::dist |
Definition at line 130 of file workmanager.h.
NaturalResource* NearNaturalResource::resource |
Definition at line 129 of file workmanager.h.