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

Public Member Functions

integer get_age ()
 
tree_desc_x get_desc ()
 
- 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

Trees on the map.

Definition at line 63 of file api_map_objects.cc.

Member Function Documentation

integer tree_x::get_age ( )
Returns
age of tree in months.
tree_desc_x tree_x::get_desc ( )
Returns
object descriptor.

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