Link Search Menu Expand Document

ScreenSprite.d overview


Table of contents


utils

ScreenSprite (class)

The sprite which covers the entire game screen.

Signature

export declare class ScreenSprite {
  constructor()
}

destroy (method)

Destroys the screen sprite.

Signature

destroy(): void

setBlack (method)

Sets black to the color of the screen sprite.

Signature

setBlack(): void

setWhite (method)

Sets white to the color of the screen sprite.

Signature

setWhite(): void

setColor (method)

Sets the color of the screen sprite by values.

Signature

setColor(r: number, g: number, b: number): void

_graphics (property)

Signature

_graphics: any

_red (property)

Signature

_red: number

_green (property)

Signature

_green: number

_blue (property)

Signature

_blue: number