Simutrans-Squirrel-API
Private Member Functions | List of all members
halt_list_x Class Reference

Private Member Functions

halt_x _get ()
 
void _nexti ()
 

Detailed Description

Implements iterator to iterate through the list of all halts on the map.

Usage:

local list = halt_list_x()
foreach(halt in list) {
... // halt is an instance of the halt_x class
}

Definition at line 13 of file api_halt.cc.

Member Function Documentation

◆ _get()

halt_x halt_list_x::_get ( )
private

Meta-method to be used in foreach loops. Do not call them directly.

◆ _nexti()

void halt_list_x::_nexti ( )
private

Meta-method to be used in foreach loops. Do not call them directly.


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