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

Static Public Member Functions

static integer get_price ()
 

Additional Inherited Members

- Public Member Functions inherited from obj_desc_x
string get_name ()
 
bool is_equal (obj_desc_x other)
 
bool is_valid ()
 

Detailed Description

Object descriptors for trees.

Definition at line 152 of file api_obj_desc.cc.

Member Function Documentation

◆ get_price()

static integer tree_desc_x::get_price ( )
static

Returns price to fell one tree.

Returns
price (should be positive)

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