Skip to main content

Breaker

Inheritted classes

This component inherits classes. The following inherrited classes are:

A PowerComponent that can toggle the transfer of power going through it.


Functions

isActive

Breaker.isActive()

Whether te breaker is active or not.

Returns:

  • [ boolean ] If the breaker is active or not.

getPowerTransfer

Breaker.getPowerTransfer()

Returns the power being trasnferred through a breaker.

Returns:

  • [ number ] The power transfer.