Methods
Static charge
- charge(target: YEntity, amount: number): void
Static deplete
- deplete(target: YEntity, amount: number): void
Static getCurrentCharge
- getCurrentCharge(target: YEntity): number
-
Parameters
Returns number
Static setCurrentCharge
- setCurrentCharge(target: YEntity, value: number): void
Allows to increase charge of target entity.