()
| 298 | } |
| 299 | |
| 300 | initScriptManager () { |
| 301 | let nonVictoryPlaybackScripts |
| 302 | if (this.world.scripts) { |
| 303 | nonVictoryPlaybackScripts = _.reject(this.world.scripts, script => !/(Set Camera Boundaries|Introduction)/.test(script.id)) |
| 304 | } else { |
| 305 | console.log('World scripts don\'t exist!') |
| 306 | nonVictoryPlaybackScripts = [] |
| 307 | } |
| 308 | this.scriptManager = new ScriptManager({ scripts: nonVictoryPlaybackScripts, view: this, session: this.session }) |
| 309 | return this.scriptManager.loadFromSession() |
| 310 | } |
| 311 | |
| 312 | initVolume () { |
| 313 | let volume = me.get('volume') |
no test coverage detected