Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MinerComponent

A miner needs to be placed next to a map entity (ore, tree, etc) and produces the given resources per second. This is the root source of resources.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • __namedParameters: object
      • connectionStyle: any
      • minePerSecond: number
      • minedResource: any
      • miningMode: string
      • resource: any
      • transporterSpriteEmpty: any
      • transporterSpriteFull: any

    Returns MinerComponent

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