Iterate over all vehicles near a given world coordinate.
More...
#include <vehicle_func.h>
Iterate over all vehicles near a given world coordinate.
- Warning
- This only works for vehicles with proper Vehicle::Tile, so only ground vehicles outside wormholes.
-
The order is non-deterministic. You have to make sure, that your processing is not order dependant.
Definition at line 119 of file vehicle_func.h.
◆ VehiclesNearTileXY()
VehiclesNearTileXY::VehiclesNearTileXY |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
uint |
max_dist |
|
) |
| |
|
inlineexplicit |
◆ begin()
Iterator VehiclesNearTileXY::begin |
( |
| ) |
const |
|
inline |
◆ end()
std::default_sentinel_t VehiclesNearTileXY::end |
( |
| ) |
const |
|
inline |
◆ start
The documentation for this class was generated from the following file: