mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 11:43:50 +01:00
32 lines
778 B
Markdown
32 lines
778 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Stanek](./bitburner.stanek.md) > [chargeFragment](./bitburner.stanek.chargefragment.md)
|
|
|
|
## Stanek.chargeFragment() method
|
|
|
|
Charge a fragment, increasing its power.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
chargeFragment(rootX: number, rootY: number): Promise<void>;
|
|
```
|
|
|
|
## 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<void>
|
|
|
|
Promise that lasts until the charge action is over.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.4 GB
|
|
|