Constructors

Properties

Accessors

Methods

Constructors

Properties

index: number = 0

The index of the sprite to be rendered in the currently assigned sprite sheet

spriteSheet?: SpriteSheet

The spritesheet holds all sprites that can be rendered by the sprite renderer

Accessors

  • get sprite(): Sprite
  • The currently active sprite

    Returns Sprite

  • set sprite(sprite): void
  • Set the sprite to be rendered in the currently assigned sprite sheet at the currently active index index

    Parameters

    Returns void

Methods

  • Parameters

    • material: any

    Returns void

Generated using TypeDoc