Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EmitterComponent

The emitter component determines that an entity can emit (=distribute) the resources of his @see StorageComponent .

Hierarchy

Index

Constructors

constructor

Methods

deserialize

  • deserialize(data: any): void

fitsConsumer

  • fitsConsumer(consumerBuilding: any): boolean
  • Checks if this emitter component can deliver a given consumer, only checks if any of the resources match

    Parameters

    • consumerBuilding: any

    Returns boolean

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