Class: Sprite_Timer

Sprite_Timer()

new Sprite_Timer()

The sprite for displaying the timer.
Properties:
Name Type Description
_seconds Number

Extends

Methods

createBitmap()

Creates the bitmap of the sprite timer.

initialize()

redraw()

Redraws the sprite timer.

timerText() → {String}

Returns the text of the timer.
Returns:
The text displayed on the timer.
Type
String

update()

updateBitmap()

Updates the bitmap of the sprite timer.

updatePosition()

Updates the positon of the sprite timer.

updateVisibility()

Updates the visibility of the sprite timer.