Skip to main content

ScaleBy

Used for implementing actions for the [[ActionContext|Action API]].

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ScaleBy(entity: Entity<any>, scaleOffsetX: number, scaleOffsetY: number, speed: number): ScaleBy
  • Parameters

    • entity: Entity<any>
    • scaleOffsetX: number
    • scaleOffsetY: number
    • speed: number

    Returns ScaleBy

Properties

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