PowerComponent
Not a actual component
This is not an actual component. However, all power components inherit the following functions.
A PowerComponent class that serves as the base for all power components.
Functions
getName
PowerComponent.getName()
Retrieves the name of the power source.
Returns:
- [ string ] The name of the power source.
getStats
PowerComponent.getStats()
Returns a table containing the power components stats.
Returns:
- [ table ] The power components stats.