Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnemyComponent

Enemies have this component, this means they are an AI driven entity which is not controlled by the player. Each enemy has a behaviour, see @see EnemyBehaviour for an explanation what it does.

Hierarchy

Index

Constructors

constructor

Methods

deserialize

  • deserialize(data: any): any

drawVisualization

  • drawVisualization(x: any, y: any, parameters: any): void
  • Draws the visualization of the enemies behaviour

    Parameters

    • x: any
    • y: any
    • parameters: any

    Returns void

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