bitburner-src/markdown/bitburner.stanek.placefragment.md

34 lines
920 B
Markdown
Raw Normal View History

2021-12-03 22:14:13 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2022-03-29 21:49:31 +02:00
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Stanek](./bitburner.stanek.md) &gt; [placeFragment](./bitburner.stanek.placefragment.md)
2021-12-03 22:14:13 +01:00
2022-03-29 21:49:31 +02:00
## Stanek.placeFragment() method
2021-12-03 22:14:13 +01:00
Place fragment on Stanek's Gift.
<b>Signature:</b>
```typescript
2022-03-29 21:49:31 +02:00
placeFragment(rootX: number, rootY: number, rotation: number, fragmentId: number): boolean;
2021-12-03 22:14:13 +01:00
```
## 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
2022-01-18 20:02:12 +01:00
RAM cost: 5 GB
2021-12-03 22:14:13 +01:00