public void Draw(IntPtr rendererPtr, Camera camera)
 {
     _departIcon.Draw(rendererPtr, camera);
     if (_arriveIcon != null)
     {
         _arriveIcon.Draw(rendererPtr, camera);
         //draw the transitLine
         SDL_SetRenderDrawColor(rendererPtr, TransitLineColor.r, TransitLineColor.g, TransitLineColor.b, TransitLineColor.a);
         SDL.SDL_RenderDrawLine(rendererPtr, _linePoints[0].x, _linePoints[0].y, _linePoints[1].x, _linePoints[1].y);
     }
 }
        public void Draw(IntPtr rendererPtr, Camera camera)
        {
            _departIcon.Draw(rendererPtr, camera);
            if (_arriveIcon != null)
            {
                _arriveIcon.Draw(rendererPtr, camera);
                //draw the transitLine

                var x1 = _linePoints[0].x;
                var y1 = _linePoints[0].y;
                var x2 = _linePoints[1].x;
                var y2 = _linePoints[1].y;

                SDL_SetRenderDrawColor(rendererPtr, TransitLineColor.r, TransitLineColor.g, TransitLineColor.b, TransitLineColor.a);
                SDL_RenderDrawLine(rendererPtr, x1, y1, x2, y2);
            }
        }