private void RemoveLine(
            GameLine line,
            LineRenderer renderer,
            Dictionary <int, int> lookup)
        {
            int start = lookup[line.ID];

            renderer.RemoveLine(start);
            // preserve the id in the lookup in event of undo
        }
        public void RemoveLine(StandardLine line)
        {
            var colorindex = _lines[line.ID];

            _linebuffer.RemoveLine(colorindex);
        }