Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HealthBarComponent

Draws a health bar below the entity. Requires @see HealthComponent

Hierarchy

Index

Constructors

constructor

  • Parameters

    • __namedParameters: object
      • barColor: string
      • barColorLow: any
      • barColorMedium: any
      • barHeight: number
      • barWidth: number
      • yOffset: number

    Returns HealthBarComponent

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