Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISpriteBatch

Hierarchy

  • ISpriteBatch

Implemented by

Index

Methods

Methods

add

  • add(tileX: number, tileY: number, spriteSize: number, sourceX: number, sourceY: number, sourceSize: number, offsetX?: undefined | number, offsetY?: undefined | number, red?: undefined | number, green?: undefined | number, blue?: undefined | number, alpha?: undefined | number): void
  • Parameters

    • tileX: number
    • tileY: number
    • spriteSize: number
    • sourceX: number
    • sourceY: number
    • sourceSize: number
    • Optional offsetX: undefined | number
    • Optional offsetY: undefined | number
    • Optional red: undefined | number
    • Optional green: undefined | number
    • Optional blue: undefined | number
    • Optional alpha: undefined | number

    Returns void

Generated using TypeDoc