|
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.
| NearNaturalResource::NearNaturalResource | ( | NaturalResource * | res, |
| float | distance | ||
| ) | [inline] |
Definition at line 128 of file workmanager.h.
| bool NearNaturalResource::operator< | ( | const NearNaturalResource & | oth | ) | const [inline] |
Definition at line 131 of file workmanager.h.
Definition at line 130 of file workmanager.h.
Definition at line 129 of file workmanager.h.
1.7.3