public static void ExecuteCommand(GLCommand command) { if (commandProcessors.TryGetValue(command.Command, out var processor)) { processor(command.Arguments); } }
private void AddCommand(GLCommand command) { Commands[Count] = command; Count++; }