Class: Music

Music()

new Music()

Source:

Members

DEFAULT_BATTLE_TRACKS

Source:

DEFAULT_CUSTOM_TRACKS

Source:

DEFAULT_DEFEAT_TRACKS

Source:

DEFAULT_MENU_TRACKS

Source:

DEFAULT_PEACE_TRACKS

Source:

DEFAULT_VICTORY_TRACKS

Source:

MUSIC

Source:

RELATIVE_MUSIC_PATH

Source:

currentState

Source:

locked

Source:

locked

Source:

musicGain

Source:

oldState

Source:

oldState

Source:

reference

Source:

states

Source:

time

Source:

timer

Source:

tracks

Source:

tracks[undefined]

Source:

tracks[undefined]

Source:

tracks[undefined]

Source:

Methods

completeTracks()

Source:

isPlaying()

Source:

resetTracks()

Source:

setLocked()

Play the custom playlist when locked, otherwise plays the civ music according to the battle state.
Source:

setState()

Source:

start()

Source:

startPlayList()

Source:

stop()

Source:

storeTracks()

Source:

updateState()

Source: