Module: versionstyle

The javascript module for version specific styles (i.e., showing a timer)
Source:

Methods

(inner) initVersionStyle(config, manager)

Set up all the initial style stuff.
Parameters:
Name Type Description
config Object Ini file from module:configloader.
manager MicrogameJam Microgame Jam manager.
Source:

(inner) timerUpdate()

Included in version-style because we might want to change how the timer animates based on the style. Called by module:versionstyle#versionStyleUpdate.
Source:

(inner) versionStyleUpdate(isInGame)

Update every frame from MicrogameJam.
Parameters:
Name Type Description
isInGame boolean Are we currently in the game?
Source: