var director = yuu.director = new yuu.Director();
/** The standard director */
+ if (yuu.audio) {
+ yuu.Animation.registerOperation(function playSound (sound) {
+ if (Array.isArray(sound))
+ sound = yuu.random.choice(sound);
+ (new yuu.Instrument(sound)).play();
+ });
+ }
+
yuu.registerInitHook(function () {
return yuu.ready(director._scenes);
});