Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasePrediction

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • Parameters

    • root: any
    • actionTime: any

    Returns BasePrediction

Methods

draw

  • draw(params: any): void
  • Draw the prediction overlays

    Parameters

    • params: any

    Returns void

execute

  • execute(): void
  • Should execute the prediction, i.e. spawn particles

    Returns void

getId

  • getId(): any
  • Returns the predictions id (helper method)

    Returns any

Static getId

  • getId(): string
  • Returns the predictions id, overrid

    Returns string