diff --git a/Dashboard/CommandMachine/CommandEngine.cs b/Dashboard/CommandMachine/CommandEngine.cs index 7ef2a9c..09095eb 100644 --- a/Dashboard/CommandMachine/CommandEngine.cs +++ b/Dashboard/CommandMachine/CommandEngine.cs @@ -14,7 +14,7 @@ namespace Dashboard.CommandMachine private readonly Stack _matrixStack = new Stack(); private Command _customCommandBase = Command.CustomCommandBase; - private readonly List _customCommands = new List(); + private readonly List _customCommands = new List(); public QRectangle Viewport => _viewport; @@ -27,7 +27,7 @@ namespace Dashboard.CommandMachine Reset(); } - public Command RegisterCustomCommand(QuikCommandHandler handler) + public Command RegisterCustomCommand(CommandHandler handler) { Command id = _customCommandBase++; _customCommands.Insert(id - Command.CustomCommandBase, handler); @@ -67,7 +67,7 @@ namespace Dashboard.CommandMachine case Command.ConditionalEnd: /* nop */ break; case Command.Invoke: - iterator.Dequeue().As().Invoke(this, iterator); + iterator.Dequeue().As().Invoke(this, iterator); break; case Command.PushViewport: _viewportStack.Push(_viewport); diff --git a/Dashboard/CommandMachine/CommandHandler.cs b/Dashboard/CommandMachine/CommandHandler.cs index 6203004..52f89b0 100644 --- a/Dashboard/CommandMachine/CommandHandler.cs +++ b/Dashboard/CommandMachine/CommandHandler.cs @@ -1,8 +1,8 @@ namespace Dashboard.CommandMachine { /// - /// A delegate for a QUIK command. + /// A delegate for a Dashboard engine command. /// /// The current stack. - public delegate void QuikCommandHandler(CommandEngine state, CommandQueue queue); + public delegate void CommandHandler(CommandEngine state, CommandQueue queue); } \ No newline at end of file diff --git a/Dashboard/CommandMachine/CommandList.cs b/Dashboard/CommandMachine/CommandList.cs index 5464953..a96c76a 100644 --- a/Dashboard/CommandMachine/CommandList.cs +++ b/Dashboard/CommandMachine/CommandList.cs @@ -20,7 +20,7 @@ namespace Dashboard.CommandMachine _frames.Add(frame); } - public void Invoke(QuikCommandHandler handler) + public void Invoke(CommandHandler handler) { Enqueue(Command.Invoke); Enqueue(new Frame(handler));