Skip to content

Latest commit

 

History

History
211 lines (155 loc) · 4.11 KB

UIController.md

File metadata and controls

211 lines (155 loc) · 4.11 KB

UIController

Members

info : Object

Info object

currentCycle : integer

Current showing cycle

isPlaying : boolean

Is playing

lastLoadedCycle : integer

Last loaded cycle

getScore
showCycle
lastCycle

Last cycle number.

playingDelay

Playing delay.

Functions

UIController(info)
loadDataFromInfo(name, defaultValue)*
start()

Play logs

pause()

Pause logs

reset()

Reset player to #0 cycle

setLoadedCycle(cycle)

Set cycle as loaded and controller updated.

reloadControllPanel()

Update controll buttons status

setCycle(cycle)

Show cycle

nextCycle()

Show next cycle

prevCycle()

Show previous cycle

info : Object

Info object

Kind: global variable

currentCycle : integer

Current showing cycle

Kind: global variable

isPlaying : boolean

Is playing

Kind: global variable

lastLoadedCycle : integer

Last loaded cycle

Kind: global variable

getScore

Kind: global variable

Param Type
cycle integer

showCycle

Kind: global variable

Param Type
cycle integer

lastCycle

Last cycle number.

Kind: global variable

playingDelay

Playing delay.

Kind: global variable

UIController(info)

Kind: global function

Param Type Description
info Object info object

UIController~teamName

Team name

Kind: inner property of UIController

UIController~mapName

Map name

Kind: inner property of UIController

loadDataFromInfo(name, defaultValue) ⇒ *

Kind: global function

Param Type
name string
defaultValue *

start()

Play logs

Kind: global function

pause()

Pause logs

Kind: global function

reset()

Reset player to #0 cycle

Kind: global function

setLoadedCycle(cycle)

Set cycle as loaded and controller updated.

Kind: global function

Param Type Description
cycle integer cycle number

reloadControllPanel()

Update controll buttons status

Kind: global function

setCycle(cycle)

Show cycle

Kind: global function

Param Type
cycle integer

nextCycle()

Show next cycle

Kind: global function

prevCycle()

Show previous cycle

Kind: global function