object - commandobject - unit - tank - supplier


int NextObjectForSupply()

Scope: private

Parameters
none

Return values
True if we have some object to supply, false otherwise.

Description
This function is used to set to next object on list of objects for supply. If this function will return true, we can get pointer to this object by function GetCurrentObjectForSupply.

See also
GetCurrentObjectForSupply, WasCurrentObjectSupplied