mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
1.3 KiB
1.3 KiB
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. |