add outline of ship sounds

This commit is contained in:
jorsi
2020-05-29 19:04:37 -04:00
parent c35912b3ff
commit f188f45e4b
+13
View File
@@ -8,6 +8,15 @@ var Ship = {
BASE_HULL: 0,
BASE_THRUSTERS: 1,
currentMusic: 0,
MUSIC: {
0: '/audio/ship.wav'
},
SOUNDS: {
'reinforce-hull': '/audio/reinforce-hull.wav',
'upgrade-engine': '/audio/upgrade-engine.wav',
'lift-off': '/audio/lift-off.wav',
},
name: _("Ship"),
init: function(options) {
this.options = $.extend(
@@ -170,5 +179,9 @@ var Ship = {
handleStateUpdates: function(e){
},
setMusic: function () {
AudioEngine.changeMusic(Ship.MUSIC[0]);
}
};