IEnergyStorage
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Methods
Return Type: boolean
Return Type: boolean
Return Type: int
Parameter | Type | Description |
---|---|---|
Parameter maxExtract | Type int | Description No Description Provided |
Parameter simulate | Type boolean | Description No Description Provided |
Return Type: int
Return Type: int
Return Type: int
Parameter | Type | Description |
---|---|---|
Parameter maxReceive | Type int | Description No Description Provided |
Parameter simulate | Type boolean | Description No Description Provided |
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name canExtract | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name canReceive | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name energyStored | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name maxEnergyStored | Type int | Has Getter true | Has Setter false | Description No Description Provided |