setPowered

public void setPowered(boolean isPowered)

Set this lever to be powered or not.

Parameters

isPowered

whether the lever should be powered or not