bitburner-src/markdown/bitburner.stanek.md
2022-03-29 15:49:31 -04:00

1.3 KiB

Home > bitburner > Stanek

Stanek interface

Stanek's Gift API.

Signature:

interface Stanek 

Methods

Method Description
activeFragments() List of fragments in Stanek's Gift.
canPlaceFragment(rootX, rootY, rotation, fragmentId) Check if fragment can be placed at specified location.
chargeFragment(rootX, rootY) Charge a fragment, increasing its power.
clearGift() Clear the board of all fragments.
fragmentDefinitions() List possible fragments.
getFragment(rootX, rootY) Get placed fragment at location.
giftHeight() Stanek's Gift height.
giftWidth() Stanek's Gift width.
placeFragment(rootX, rootY, rotation, fragmentId) Place fragment on Stanek's Gift.
removeFragment(rootX, rootY) Remove fragment at location.