mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
34 lines
920 B
Markdown
34 lines
920 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Stanek](./bitburner.stanek.md) > [placeFragment](./bitburner.stanek.placefragment.md)
|
|
|
|
## Stanek.placeFragment() method
|
|
|
|
Place fragment on Stanek's Gift.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
placeFragment(rootX: number, rootY: number, rotation: number, fragmentId: number): boolean;
|
|
```
|
|
|
|
## 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. |
|
|
| rotation | number | A number from 0 to 3, the mount of 90 degree turn to take. |
|
|
| fragmentId | number | ID of the fragment to place. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
true if the fragment can be placed at that position. false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 5 GB
|
|
|