Simutrans-Squirrel-API
|
Public Member Functions | |
integer | get_count () |
Public Member Functions inherited from coord3d | |
string | _tostring () |
coord (int x, int y, int z) | |
string | href (string text) |
coord3d | operator* (integer fac) |
coord3d | operator+ (coord3d other) |
coord3d | operator+ (coord3d other) |
coord3d | operator- (coord other) |
coord3d | operator- (coord other) |
coord3d | operator- () |
coord3d | operator/ (integer fac) |
Public Member Functions inherited from coord | |
string | _tostring () |
coord (int x, int y) | |
string | href (string text) |
coord | operator* (integer fac) |
coord | operator+ (coord other) |
coord | operator- (coord other) |
coord | operator- () |
coord | operator/ (integer fac) |
dir | to_dir () |
Private Member Functions | |
void | _get () |
void | _nexti () |
Additional Inherited Members | |
Public Attributes inherited from coord3d | |
integer | x |
x-coordinate | |
integer | y |
y-coordinate | |
integer | z |
z-coordinate - height | |
Public Attributes inherited from coord | |
integer | x |
x-coordinate | |
integer | y |
y-coordinate | |
Class that holds an iterator through the list of objects on a particular tile.
For an example see tile_x.
Definition at line 176 of file api_tiles.cc.
|
private |
Meta-method to be used in foreach loops to loop over all objects on the tile. Do not call it directly.
|
private |
Meta-method to be used in foreach loops to loop over all objects on the tile. Do not call it directly.
integer tile_object_list_x::get_count | ( | ) |
Returns number of objects on the tile.