Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SelfDestructionComponent

Will destroy the entity once a target entity is within the given range. Used by exploding zombies.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • __namedParameters: object
      • explosionDamageAmount: number
      • explosionRadiusTiles: number
      • targetComponent: any

    Returns SelfDestructionComponent

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