Category: Component
Parent class: COMPONENT
integer
integer value
1000
BUILDING_FUNCTION_RESOURCE_GENERATOR getResourceGeneratorData()
void setResourceGeneratorData(resourceGeneratorData)
Name | Type | Description |
---|---|---|
resourceGeneratorData | BUILDING_FUNCTION_RESOURCE_GENERATOR |
void setMaxQuantity(maxQuantity [, addDifference])
Name | Type | Description |
---|---|---|
maxQuantity | integer | |
addDifference | boolean | If true, we will add/substract the current inventory with the difference between current max quantity and maxQuantity . |
RESOURCE getResourceGenerated()