MCPcopy Create free account
hub / github.com/codecombat/codecombat / runCommands

Function runCommands

ozaria/engine/cinematic/cinematicController.js:311–314  ·  view source on GitHub ↗

* Runs an array of commands. If the user cancels it will consume this entire * array. Thus you should only call this for ShotSetup + DialogNode 1 or for a * single dialogNode. * * Returns the running commandRunner to handle cancellation. * * @param {AbstractCommand[]} commands * @returns {Com

(commands)

Source from the content-addressed store, hash-verified

309 * @returns {CommandRunner} the running commandRunner.
310 */
311function runCommands (commands) {
312 const runner = new CommandRunner(commands)
313 return [runner, runner.run()]
314}
315
316/**
317 * Starts the render loop of the stage.

Callers 1

_runShotMethod · 0.85

Calls 1

runMethod · 0.95

Tested by

no test coverage detected