public void Redo() { if (_currentCommandNum < commands.Count) { ILightCommand command = commands[_currentCommandNum]; _currentCommandNum++; command.Execute(); } }
public void Execute(ILightCommand command) { command.Execute(); }