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

Public Member Functions

sign_desc_x get_desc ()
 
bool can_pass (player_x player)
 
- Public Member Functions inherited from map_object_x
 map_object_x (integer x, integer y, integer z, map_objects type)
 
bool is_valid ()
 
player_x get_owner ()
 
string get_name ()
 
way_types get_waytype ()
 
coord3d get_pos ()
 
string is_removable (player_x)
 
map_objects get_type ()
 
void mark ()
 
void unmark ()
 
bool is_marked ()
 

Detailed Description

Roadsigns and railway signals.

Definition at line 219 of file api_map_objects.cc.

Member Function Documentation

bool sign_x::can_pass ( player_x  player)

Test whether player 's vehicles can pass private-way sign. Returns true if this is not a private-way sign.

Parameters
player
sign_desc_x sign_x::get_desc ( )
Returns
object descriptor.

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