boolean
boolean value
true
void init(instTaxationFunction)
Name | Type | Description |
---|---|---|
instTaxationFunction | InstTaxationFunction |
void finalize(instTaxationFunction)
Function called when taxation function is removed. You can cleanup components added during init (except TaxCollectables, those will be managed by the system).
Name | Type | Description |
---|---|---|
instTaxationFunction | InstTaxationFunction |
InstTaxationTransactionCollectInfo collect(compTaxCollectable)
Function called every frame to compute how much to cumulate.
Name | Type | Description |
---|---|---|
compTaxCollectable | CompTaxCollectable |
integer getMaximumAmountToCollect(compTaxCollectable)
Name | Type | Description |
---|---|---|
compTaxCollectable | CompTaxCollectable |
integer getTaxedCount(instTaxationFunction)
Name | Type | Description |
---|---|---|
instTaxationFunction | InstTaxationFunction |