Busy  PROGRAM_VERSION
 All Classes Variables
Public Member Functions | Public Attributes | List of all members
BusyBeeClass Class Reference

Public Member Functions

function Load (version, data)
function Save ()
function Start ()
function Initialize ()
function FindSources (cargo_index)
function FindDestinations (cargo_index, company)
function GetDistanceScore (desired, actual)
function FindChallenge (cargo_index, distance, comp_id)
function SelectCargo ()
function CreateChallenge (comp_id)
function ProcessEvents ()
function TryAddNewGoal ()
function UpdateDeliveries (old_cmon)
function CompaniesPostLoadCheck ()
function FillMonitors (cmon)
function UpdateCompanyMonitors (old_cmon, cmon)
function UpdateCargoMonitors (comp_id, old_mon, mon)
function UpdateResourceMonitors (comp_id, cargo_id, old_rmon, rmon)
function UpdateTownMonitors (comp_id, cargo_id, old_tmon, tmon)
function UpdateIndMonitors (comp_id, cargo_id, old_imon, imon)

Public Attributes

 cargoes = null
 Cargoes of the game (index -> 'cid' number, 'freight' boolean, 'effect' on town).
 num_cargoes = 0
 Number of cargoes in 'this.cargoes'.
 sum_weight = 0
 Total sum of the weights of the cargoes.
 companies = null
 loaded = false

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