mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-04 03:27:13 +08:00
create AudioLibrary module to consolidate audio
This commit is contained in:
@@ -11,20 +11,6 @@ var Events = {
|
||||
_LEAVE_COOLDOWN: 1,
|
||||
STUN_DURATION: 4000,
|
||||
BLINK_INTERVAL: false,
|
||||
currentMusic: 0,
|
||||
MUSIC: {
|
||||
0: '/audio/combat.wav',
|
||||
1: '/audio/event.wav'
|
||||
},
|
||||
SOUNDS: {
|
||||
'trigger-fight': '/audio/trigger-fight.wav',
|
||||
'trigger-event': '/audio/trigger-event.wav',
|
||||
'enemy-hit': '/audio/enemy-hit.wav',
|
||||
'eat-meat': '/audio/eat-meat.wav',
|
||||
'use-meds': '/audio/use-meds.wav',
|
||||
'win-fight': '/audio/win-fight.wav',
|
||||
'lose-fight': '/audio/lose-fight.wav'
|
||||
},
|
||||
init: function(options) {
|
||||
this.options = $.extend(
|
||||
this.options,
|
||||
|
||||
Reference in New Issue
Block a user