Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PassiveProducerComponent

Produces resources without any recipes or input resources. Used by solarpanels. Divided in production rate per day and per night

Hierarchy

Index

Constructors

constructor

  • Parameters

    • __namedParameters: object
      • dayProductionPerSec: number
      • nightProductionPerSec: number
      • resource: any

    Returns PassiveProducerComponent

Methods

deserialize

  • deserialize(data: any): any

getDebugString

  • getDebugString(): string

serialize

  • serialize(): object

Static getCachedSchema

  • getCachedSchema(): any

Static getId

  • getId(): string
  • Returns string

Static getSchema

  • getSchema(): object

Static verify

  • verify(data: any): string