Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YHeat

Index

Constructors

constructor

Methods

Static GetOverheatDuration

  • GetOverheatDuration(entity: YEntity): number
  • Returns the duration of an entity's overheated status.

    Parameters

    Returns number

Static SetOverheatDuration

  • SetOverheatDuration(entity: YEntity, overheatDuration: number): void
  • Sets the duration of an entity's overheated status.

    Parameters

    • entity: YEntity
    • overheatDuration: number

    Returns void

Static getCooldownRateWhenInactive

  • getCooldownRateWhenInactive(entity: YEntity): number
  • Returns cooldown rate per second of an entity when it is inactive.

    Parameters

    Returns number

Static getCooldownRateWhenOnStandby

  • getCooldownRateWhenOnStandby(entity: YEntity): number
  • Returns cooldown rate per second of an entity when it is in a standby mode.

    Parameters

    Returns number

Static getHeat

  • Returns the current heat value of an entity.

    Parameters

    Returns number

Static getHeatRate

  • getHeatRate(entity: YEntity): number
  • Returns heat rate increase per second during the entity's activity.

    Parameters

    Returns number

Static getMaxHeat

  • getMaxHeat(entity: YEntity): number
  • Returns maximum heat value of an entity.

    Parameters

    Returns number

Static setCooldownRateWhenInactive

  • setCooldownRateWhenInactive(entity: YEntity, cooldownRate: number): void
  • Sets the cooldown rate per second of an entity when it is inactive.

    Parameters

    • entity: YEntity
    • cooldownRate: number

    Returns void

Static setCooldownRateWhenOnStandby

  • setCooldownRateWhenOnStandby(entity: YEntity, cooldownRate: number): void
  • Sets the cooldown rate per second of an entity when it is in a standby mode.

    Parameters

    • entity: YEntity
    • cooldownRate: number

    Returns void

Static setHeat

  • setHeat(entity: YEntity, heat: number): void
  • Sets the current heat value of an entity.

    Parameters

    Returns void

Static setHeatRate

  • setHeatRate(entity: YEntity, heatRate: number): void
  • Sets the heat rate increase per second during the entity's activity.

    Parameters

    Returns void

Static setMaxHeat

  • setMaxHeat(entity: YEntity, maxHeat: number): void
  • Sets the maximum heat value of an entity.

    Parameters

    Returns void

Generated using TypeDoc