The javascript module for version specific styles (i.e., showing a timer)
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. |
(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.
(inner) versionStyleUpdate(isInGame)
Update every frame from MicrogameJam.
Parameters:
Name | Type | Description |
---|---|---|
isInGame |
boolean | Are we currently in the game? |