Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AimComponent

Aims towards given targets, used for projectile shooters

Hierarchy

Index

Constructors

constructor

  • Parameters

    • __namedParameters: object
      • changeSpeedDegPerSec: number
      • minimumAngle: number
      • spritePrefix: any
      • spriteScale: number

    Returns AimComponent

Methods

canShoot

  • canShoot(): any
  • Returns if we have aimed precisely enough to shoot

    Returns any

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