Public Member Functions |
function | Init (tile1, tile2, repair_existing=false, max_loops=4000, forbidden_tiles=[]) |
function | DoPathfinding () |
function | ConnectTiles (call_count=1) |
function | GetPFLoopsUsed () |
function | GetBuildLoopsUsed () |
function | EnableSlowAI (enable=true) |
function | EnableSlowPathFinding (enable=true) |
function | EnableSlowBuilding (enable=true) |
function | SetEstimateMultiplier (estimate_multiplier) |
function | SetLoanLimit (loan_limit) |
Public Attributes |
| pf_loops_used = null |
| build_loops_used = null |
| slow_pf = false |
| slow_build = false |
| estimate_multiplier = null |
| loan_limit = null |
| connect_tile1 = null |
| connect_tile2 = null |
| connect_repair = false |
| connect_max_loops = 4000 |
| connect_forbidden_tiles = null |
| path = null |
Static Public Attributes |
static | CONNECT_SUCCEEDED = 0 |
static | CONNECT_FAILED_OTHER = 1 |
static | CONNECT_FAILED_TIME_OUT = 2 |
static | CONNECT_FAILED_NO_PATH_FOUND = 3 |
static | CONNECT_FAILED_OUT_OF_TRIES = 4 |
The documentation for this class was generated from the following file: