mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
778 B
778 B
Home > bitburner > Stanek > getFragment
Stanek.getFragment() method
Get placed fragment at location.
Signature:
getFragment(rootX: number, rootY: number): ActiveFragment | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
rootX | number | X against which to align the top left of the fragment. |
rootY | number | Y against which to align the top left of the fragment. |
Returns:
ActiveFragment | undefined
The fragment at [rootX, rootY], if any.
Remarks
RAM cost: 5 GB