MinchinWeb's MetaLibrary  v.9
Library functions of OpenTTD AI writers.
_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. More...
 

Detailed Description

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

Member Function Documentation

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

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

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

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

_MinchinWeb_WBC_::Cost::constructor ( main  )
inlineprivate

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

Member Data Documentation

_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: