mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
1.5 KiB
1.5 KiB
Stanek interface
Stanek's Gift API.
Signature:
interface Stanek
Methods
Method | Description |
---|---|
acceptGift() | Accept Stanek's Gift by joining the Church of the Machine God |
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. |