public void Draw(FPCanvas canvas)
        {
            canvas.SetCurrentColor(Color.FromArgb(100, Color.White));

            FPElevator.ElevatorTexture.Draw(new PointF(X, Y), WidthSegments, 1);
            canvas.DisableTexturing();

            RectangleF start = elevatorStart.Rect;
            RectangleF end = this.Rect;

            canvas.SetCurrentColor(Color.FromArgb(255, 0, 255, 0));
            canvas.DrawLine(start.MiddlePoint(), end.MiddlePoint());
        }
        void DrawGrid(FPCanvas canvas)
        {
            Rectangle rect = levelView.ClientRectangle;

            rect.Offset(-(int)levelView.ViewOffset.X, -(int)levelView.ViewOffset.Y);

            rect.X /= 32;
            rect.Y /= 32;

            rect.X *= 32;
            rect.Y *= 32;

            canvas.SetCurrentColor(Color.FromArgb((int)(0.2 * 255), Color.White));

            for (int y = rect.Top; y < rect.Bottom + 32; y += 32)
                canvas.DrawLine(new Point(rect.Left, y), new Point(rect.Right + 32, y));

            for (int x = rect.Left; x < rect.Right + 32; x += 32)
                canvas.DrawLine(new Point(x, rect.Top), new Point(x, rect.Bottom + 32));
        }