|
|
integer | x |
| | x-coordinate
|
| |
|
integer | y |
| | y-coordinate
|
| |
|
integer | z |
| | z-coordinate - height
|
| |
|
integer | x |
| | x-coordinate
|
| |
|
integer | y |
| | y-coordinate
|
| |
Buildings.
Definition at line 78 of file api_map_objects.cc.
◆ get_city()
| city_x building_x::get_city |
( |
| ) |
|
- Returns
- city if building belongs to one, otherwise null
◆ get_desc()
- Returns
- object descriptor.
◆ get_factory()
- Returns
- factory if building belongs to one, otherwise null
◆ get_mail_level()
| integer building_x::get_mail_level |
( |
| ) |
|
Mail level controls how many mail will be generated by this building.
- Returns
- mail level
◆ get_passenger_level()
| integer building_x::get_passenger_level |
( |
| ) |
|
Passenger level controls how many passengers will be generated by this building.
- Returns
- passenger level
◆ get_tile_list()
| array<tile_x> building_x::get_tile_list |
( |
| ) |
|
- Returns
- coord for all tiles
◆ is_headquarter()
| bool building_x::is_headquarter |
( |
| ) |
|
- Returns
- whether building is headquarters
◆ is_monument()
| bool building_x::is_monument |
( |
| ) |
|
- Returns
- whether building is a monument
◆ is_same_building()
- Returns
- true if both building tiles are part of one (multi-tile) building
◆ is_townhall()
| bool building_x::is_townhall |
( |
| ) |
|
- Returns
- whether building is townhall
The documentation for this class was generated from the following file: