Simutrans-Squirrel-API
Public Member Functions | List of all members
transformer_x Class Reference
Inheritance diagram for transformer_x:
powerline_x map_object_x coord3d extend_get ingame_object coord

Public Member Functions

void get_factory ()
 
- Public Member Functions inherited from powerline_x
bool is_connected (powerline_x pl)
 
- Public Member Functions inherited from map_object_x
string get_name ()
 
player_x get_owner ()
 
coord3d get_pos ()
 
map_objects get_type ()
 
way_types get_waytype ()
 
bool is_marked ()
 
string is_removable (player_x)
 
bool is_valid ()
 
 map_object_x (integer x, integer y, integer z, map_objects type)
 
void mark ()
 
void unmark ()
 
- 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 ()
 

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
 

Detailed Description

Transformers. Sink and source can be differentiated by obj_x::get_type.

Definition at line 276 of file api_map_objects.cc.

Member Function Documentation

◆ get_factory()

void transformer_x::get_factory ( )

Get factory connected to this transformer.


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