Module command.compound_command
CompoundCommand module.
Class CompoundCommand
CompoundCommand:init (commands) | CompoundCommand constructor. |
Class CompoundCommand
CompoundCommand class. Execute commands in sequence.- CompoundCommand:init (commands)
-
CompoundCommand constructor.
Commands will be executed in sequence. In case of undo, they will be unexecuted in reverse order.
Parameters:
- commands table list of Command instances which are grouped to a single comamnd and executed in sequence.