Skip to main content

Fade

Used for implementing actions for the Action API.

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Fade(entity: Entity<any>, endOpacity: number, speed: number): Fade
  • Parameters

    • entity: Entity<any>
    • endOpacity: number
    • speed: number

    Returns Fade

Properties

id

id: number = ...

publicx

x: number

publicy

y: number

Methods

publicisComplete

  • isComplete(): boolean
  • Returns boolean

publicreset

  • reset(): void
  • Returns void

publicstop

  • stop(): void
  • Returns void

publicupdate

  • update(delta: number): void
  • Parameters

    • delta: number

    Returns void