Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YChargeable

Index

Constructors

constructor

Methods

Static charge

  • charge(target: YEntity, amount: number): void
  • Parameters

    Returns void

Static deplete

  • deplete(target: YEntity, amount: number): void
  • Parameters

    Returns void

Static getCurrentCharge

  • getCurrentCharge(target: YEntity): number
  • Parameters

    Returns number

Static setCurrentCharge

  • setCurrentCharge(target: YEntity, value: number): void
  • Parameters

    Returns void

Generated using TypeDoc