* Pushes a single undo effect command. Used to undo effect operations. * @param {AbstractCommand} command that causes an effect.
(command)
| 69 | * @param {AbstractCommand} command that causes an effect. |
| 70 | */ |
| 71 | pushUndoCommand (command) { |
| 72 | if (!this._ignoreUndoCommands) { |
| 73 | this.currentNodeUndoCommands.push(command) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | // The first array of commands is not always the start of the cinematic. |
| 78 | // This can be called from the cinematic controller in order to communicate |