Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseSprite

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • new BaseSprite(w: any, h: any, sprite: any): BaseSprite
  • Parameters

    • w: any
    • h: any
    • sprite: any

    Returns BaseSprite

Methods

draw

  • draw(context: any, x: any, y: any, w: any, h: any): void
  • Draws the sprite

    Parameters

    • context: any
    • x: any
    • y: any
    • w: any
    • h: any

    Returns void

getRawTexture

  • getRawTexture(): any
  • Returns the raw handle

    Returns any