blob: f115fb237930c893e270ae6bb07a7a54d1dc5ee0 [file] [log] [blame] [raw]
package li.cil.oc.server.component
import li.cil.oc.api
import li.cil.oc.api.network.Visibility
class PowerSupply extends ManagedComponent {
val node = api.Network.newNode(this, Visibility.Network).
withConnector().
create()
override def update() {
super.update()
node.changeBuffer(1.75)
}
}