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

32 lines
778 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; [chargeFragment](./bitburner.stanek.chargefragment.md)
2021-12-03 22:14:13 +01:00
2022-03-29 21:49:31 +02:00
## Stanek.chargeFragment() method
2021-12-03 22:14:13 +01:00
2022-01-08 19:25:06 +01:00
Charge a fragment, increasing its power.
2021-12-03 22:14:13 +01:00
<b>Signature:</b>
```typescript
2022-03-29 21:49:31 +02:00
chargeFragment(rootX: number, rootY: number): Promise<void>;
2021-12-03 22:14:13 +01:00
```
## 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. |
<b>Returns:</b>
Promise&lt;void&gt;
Promise that lasts until the charge action is over.
## Remarks
RAM cost: 0.4 GB