MinchinWeb's MetaLibrary v.11
Library functions for OpenTTD AI (and GS) writers.
Loading...
Searching...
No Matches
_MinchinWeb_WBC_::Cost Class Reference

Private Member Functions

function _set (idx, val)
function _get (idx)
 constructor (main)

Private Attributes

 _main = null
 Used to set (and get) pathfinder parameters.

Detailed Description

Definition at line 128 of file Waterbody.Check.nut.

Member Function Documentation

◆ _get()

function _MinchinWeb_WBC_::Cost::_get ( idx )
inlineprivate

Definition at line 151 of file Waterbody.Check.nut.

◆ _set()

function _MinchinWeb_WBC_::Cost::_set ( idx ,
val  )
inlineprivate

Definition at line 138 of file Waterbody.Check.nut.

◆ constructor()

_MinchinWeb_WBC_::Cost::constructor ( main )
inlineprivate

Definition at line 160 of file Waterbody.Check.nut.

Member Data Documentation

◆ _main

_MinchinWeb_WBC_::Cost::_main = null
private

Used to set (and get) pathfinder parameters.

Valid values are:

  • max_cost
  • cost_per_tile
  • distance_penalty

Definition at line 136 of file Waterbody.Check.nut.


The documentation for this class was generated from the following file: