Skip to content

Latest commit

 

History

History
150 lines (70 loc) · 1.83 KB

File metadata and controls

150 lines (70 loc) · 1.83 KB

Home > bitburner > Stanek

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.