* May return command to reposition camera. * @param {Shot} shot - the cinematic shot data. * @returns {AbstractCommand[]} An array of commands to setup the shot.
(shot)
| 34 | * @returns {AbstractCommand[]} An array of commands to setup the shot. |
| 35 | */ |
| 36 | parseSetupShot (shot) { |
| 37 | const commands = [] |
| 38 | const cameraMove = getCamera(shot) |
| 39 | if (cameraMove) { |
| 40 | const { pos: { x, y }, zoom } = cameraMove |
| 41 | commands.push(this.zoomToCommand({ x, y }, zoom)) |
| 42 | } |
| 43 | return commands |
| 44 | } |
| 45 | |
| 46 | parseDialogNode (dialogNode) { |
| 47 | const commands = [] |
nothing calls this directly
no test coverage detected