bitburner-src/markdown/bitburner.stanek.canplacefragment.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking ()"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

34 lines
998 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Stanek](./bitburner.stanek.md) &gt; [canPlaceFragment](./bitburner.stanek.canplacefragment.md)
## Stanek.canPlaceFragment() method
Check if fragment can be placed at specified location.
<b>Signature:</b>
```typescript
canPlaceFragment(rootX: number, rootY: number, rotation: number, fragmentId: number): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| rootX | number | rootX Root X against which to align the top left of the fragment. |
| rootY | number | rootY Root Y against which to align the top left of the fragment. |
| rotation | number | rotation A number from 0 to 3, the mount of 90 degree turn to take. |
| fragmentId | number | fragmentId 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: 0.5 GB