Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TargetSelectorComponent

Makes the entity select targets every logic tick, other components like the @see ProjectileShooterComponent and @see AimComponent depend on it.

This component mainly exists so we can compute the target entities once and then all other systems can access it, without having to recompute it every time.

Hierarchy

Index

Constructors

constructor

Methods

deserialize

  • deserialize(data: any): any

getDebugString

  • getDebugString(): string

getTargets

  • getTargets(): any
  • Returns the currently selected targets

    Returns any

serialize

  • serialize(): object

Static getCachedSchema

  • getCachedSchema(): any

Static getId

  • getId(): string
  • Returns string

Static getSchema

  • getSchema(): object

Static verify

  • verify(data: any): string