GetSelectedBuilding (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | getSelectedBuilding() | Returns the currently selected building, or nil if the player hasn't selected a building at the moment. | | Returns the selected buildin...')
(Created page with '{{HarvestMethod | getSelectedBuilding() | Returns the currently selected building, or nil if the player hasn't selected a building at the moment. | | Returns the selected buildin...')
Latest revision as of 20:07, 2 December 2009
|
getSelectedBuilding() | ||
|
Returns the currently selected building, or nil if the player hasn't selected a building at the moment. | ||
| Parameter | Expected Type | Description |
| Returns | ||
|
Returns the selected building. | ||
Example
building = harvest.getSelectedBuilding(id)