Public Member Functions | List of all members
obj_desc_transport_x Class Reference
Inheritance diagram for obj_desc_transport_x:
obj_desc_time_x obj_desc_x extend_get bridge_desc_x sign_desc_x tunnel_desc_x vehicle_desc_x way_desc_x wayobj_desc_x

Public Member Functions

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 ()

Detailed Description

Base class of object descriptors for transport related stuff.

Definition at line 63 of file

Member Function Documentation

◆ get_cost()

integer obj_desc_transport_x::get_cost ( )
cost [in 1/100 credits] to buy or build one piece or tile of this thing.

◆ get_maintenance()

integer obj_desc_transport_x::get_maintenance ( )
monthly maintenance cost [in 1/100 credits] of one object of this type.

◆ get_topspeed()

integer obj_desc_transport_x::get_topspeed ( )
top speed: maximal possible or allowed speed, in km/h.

◆ get_waytype()

way_types obj_desc_transport_x::get_waytype ( )
way type, can be wt_invalid.

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