Перейти к основному содержанию

EnergyType

Index

Constructors

Properties

Methods

Constructors

constructor

  • new EnergyType(name: string, value?: number): EnergyType
  • Parameters

    • name: string
    • optionalvalue: number

    Returns EnergyType

Properties

name

name: string

value

value: number

Methods

registerWire

  • registerWire(id: number, maxValue: number, energyGridClass?: typeof EnergyGrid): void
  • Parameters

    • id: number
    • maxValue: number
    • optionalenergyGridClass: typeof EnergyGrid

    Returns void

Page Options