From: Joe Wreschnig Date: Fri, 24 Apr 2015 22:28:42 +0000 (+0200) Subject: Still need sounds.winding for raw access. X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=commitdiff_plain;h=0c606c2141965a84ab9dc2f3ae1207dfd1a187ce;ds=sidebyside Still need sounds.winding for raw access. --- diff --git a/src/pwl6.js b/src/pwl6.js index 66b4139..3d86359 100644 --- a/src/pwl6.js +++ b/src/pwl6.js @@ -67,6 +67,7 @@ function load () { sounds = { tick: new yuu.Instrument("@tick"), tock: new yuu.Instrument("@tock"), + winding: new yuu.Instrument("@winding"), switch: new yuu.Instrument("@switch"), switchBroke: new yuu.Instrument({ sample: { "@switch": { duration: 0.27, offset: 0.1 } } }), @@ -95,7 +96,7 @@ function load () { return yuu.ready( [SIGILS, BOOK] .concat(yf.map(yf.new_(yuu.Instrument), [ - '@winding', '@regear', '@clicking', '@slam', '@book-appear'])) + '@regear', '@clicking', '@slam', '@book-appear'])) .concat(yf.map(yf.getter.bind(sounds), Object.keys(sounds))) ); }