Simutrans-Squirrel-API
|
Static Public Member Functions | |
static coord3d | find_end (player_x pl, coord3d pos, dir dir, bridge_desc_x bridge, integer min_length) |
Class with helper methods for bridge planning.
Definition at line 63 of file api_pathfinding.cc.
|
static |
Find suitable end tile for bridge starting at pos
going into direction dir
.
pl | who wants to build a bridge |
pos | start tile for bridge |
dir | direction |
bridge | bridge descriptor |
min_length | bridge should have this minimal length |