mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
1.2 KiB
1.2 KiB
Stanek interface
Stanek's Gift API.
Signature:
interface Stanek
Methods
Method | Description |
---|---|
activeFragments() | List of fragments in Stanek's Gift. |
canPlace(rootX, rootY, rotation, fragmentId) | Check if fragment can be placed at specified location. |
charge(rootX, rootY) | Charge a fragment, increasing its power. |
clear() | Clear the board of all fragments. |
fragmentDefinitions() | List possible fragments. |
get(rootX, rootY) | Get placed fragment at location. |
height() | Stanek's Gift height. |
place(rootX, rootY, rotation, fragmentId) | Place fragment on Stanek's Gift. |
remove(rootX, rootY) | Remove fragment at location. |
width() | Stanek's Gift width. |