Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

Static getMaxAir

  • getMaxAir(target: YEntity): number
  • Returns maximum air capacity of target airtank.

    Parameters

    Returns number

Static getMaxOxygen

  • getMaxOxygen(target: YEntity): number
  • Allows to get the maximum amount of Oxygen the container can hold.

    Parameters

    Returns number

Static getRemainingAir

  • getRemainingAir(target: YEntity): number
  • Returns remaining air capacity of target airtank.

    Parameters

    Returns number

Static getRemainingOxygen

  • getRemainingOxygen(target: YEntity): number
  • Allows to get the remaining amount of Oxygen the container holds.

    Parameters

    Returns number

Static setMaxAir

  • setMaxAir(target: YEntity, value: number): void
  • Allows to set maximum air capacity of target airtank.

    Parameters

    Returns void

Static setMaxOxygen

  • setMaxOxygen(target: YEntity, value: number): void
  • Allows to set the maximum amount of Oxygen the container can hold.

    Parameters

    Returns void

Static setRemainingAir

  • setRemainingAir(target: YEntity, value: number): void
  • Allows to set remaining air capacity of target airtank.

    Parameters

    Returns void

Static setRemainingOxygen

  • setRemainingOxygen(target: YEntity, value: number): void
  • Allows to set the remaining amount of Oxygen the container holds.

    Parameters

    Returns void

Generated using TypeDoc