Class SpriteSheetLoader

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(url: string, crossorigin?: boolean): SpriteSheetLoader

Parameters

  • url: string
  • crossorigin?: boolean optional

Returns

SpriteSheetLoader

Properties

public baseUrl: string

public crossorigin: boolean

public frames: Object

public texture: Texture

public url: string

Methods

public addEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any

public dispatchEvent(event: IEvent): any

Parameters

Returns

any

public load(): any

Returns

any

public removeEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any