2022-10-21 17:16:00 +02:00
|
|
|
<!-- 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.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
chargeFragment(rootX: number, rootY: number): Promise<void>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2023-10-03 02:14:44 +02:00
|
|
|
| rootX | number | Root X against which to align the top left of the fragment. |
|
|
|
|
| rootY | number | Root Y against which to align the top left of the fragment. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
Promise<void>
|
|
|
|
|
|
|
|
Promise that lasts until the charge action is over.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0.4 GB
|
|
|
|
|