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

Public Member Functions

bool is_choose_sign ()
 
bool is_end_choose_signal ()
 
bool is_longblock_signal ()
 
bool is_one_way ()
 
bool is_pre_signal ()
 
bool is_priority_signal ()
 
bool is_private_way ()
 
bool is_signal ()
 
bool is_traffic_light ()
 
- 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< sign_desc_xget_available_signs (way_types wt)
 

Detailed Description

Descriptor of roadsigns and signals.

Definition at line 432 of file api_obj_desc.cc.

Member Function Documentation

◆ get_available_signs()

static array<sign_desc_x> sign_desc_x::get_available_signs ( way_types  wt)
static

Returns a list with available sign types.

Parameters
wtwaytype

◆ is_choose_sign()

bool sign_desc_x::is_choose_sign ( )
Returns
true if sign is choose sign

◆ is_end_choose_signal()

bool sign_desc_x::is_end_choose_signal ( )
Returns
true if sign is end-of-choose sign

◆ is_longblock_signal()

bool sign_desc_x::is_longblock_signal ( )
Returns
true if sign is long-block signal

◆ is_one_way()

bool sign_desc_x::is_one_way ( )
Returns
true if sign is one-way sign

◆ is_pre_signal()

bool sign_desc_x::is_pre_signal ( )
Returns
true if sign is pre signal (distant signal)

◆ is_priority_signal()

bool sign_desc_x::is_priority_signal ( )
Returns
true if sign is priority signal

◆ is_private_way()

bool sign_desc_x::is_private_way ( )
Returns
true if sign is private-way sign

◆ is_signal()

bool sign_desc_x::is_signal ( )
Returns
true if sign is signal

◆ is_traffic_light()

bool sign_desc_x::is_traffic_light ( )
Returns
true if sign is traffic light

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