Simutrans-Squirrel-API
Public Member Functions | Static Public Member Functions | List of all members
wayobj_desc_x Class Reference
Inheritance diagram for wayobj_desc_x:
obj_desc_transport_x obj_desc_time_x obj_desc_x extend_get

Public Member Functions

bool is_overhead_line ()
 
- Public Member Functions inherited from obj_desc_transport_x
integer get_cost ()
 
integer get_maintenance ()
 
integer get_topspeed ()
 
way_types get_waytype ()
 
- Public Member Functions inherited from obj_desc_time_x
time_x get_intro_date ()
 
time_x get_retire_date ()
 
bool is_available (time_x time)
 
bool is_future (time_x time)
 
bool is_retired (time_x time)
 
- Public Member Functions inherited from obj_desc_x
string get_name ()
 
bool is_equal (obj_desc_x other)
 
bool is_valid ()
 

Static Public Member Functions

static array< wayobj_desc_xget_available_wayobjs (way_types wt)
 

Detailed Description

Descriptor of way-objects.

Definition at line 479 of file api_obj_desc.cc.

Member Function Documentation

◆ get_available_wayobjs()

static array<wayobj_desc_x> wayobj_desc_x::get_available_wayobjs ( way_types  wt)
static

Returns a list with available wayobj-types.

Parameters
wtwaytype

◆ is_overhead_line()

bool wayobj_desc_x::is_overhead_line ( )
Returns
true for over-head lines.

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