Options
All
  • Public
  • Public/Protected
  • All
Menu

The interface that all sprite effects must implement

Hierarchy

  • SpriteEffect

Implemented by

Index

Methods

Methods

updatePixel

  • updatePixel(x: number, y: number, imageData: ImageData): void
  • Should update individual pixels values

    Parameters

    • x: number

      The pixel's x coordinate

    • y: number

      The pixel's y coordinate

    • imageData: ImageData

      The sprite's raw pixel data

    Returns void