src/jtwod/engine/drawable/Line.java
@Override
    protected final void render(Graphics graphics, Scene<ParentEngine> scene)
    {
        super.render(graphics, scene);

        Color resetColor = graphics.getColor();
        Graphics2D g2d = (Graphics2D)graphics;
        Stroke resetStroke = g2d.getStroke();

        g2d.setColor(this.color);
        g2d.setStroke(new BasicStroke(this.thickness));
        g2d.drawLine(this.start.getX(), this.start.getY(), this.end.getX(), this.end.getY());

        g2d.setStroke(resetStroke);
        graphics.setColor(resetColor);
    }
/**
     * Render the Line out.
     * @param graphics The <code>{@link java.awt.Graphics Graphics}</code>
     *                 object to use for rendering.
     * @param scene The <code>{@link jtwod.engine.Scene Scene}</code> on which
     */
Render the Line out.
@param graphics The  java.awt.Graphics Graphics
object to use for rendering.
@param scene The  jtwod.engine.Scene Scene on which
Render the Line out . @param graphics The java . awt . Graphics Graphics object to use for rendering . @param scene The jtwod . engine . Scene Scene on which
@Override
    protected final void render(Graphics graphics, Scene<ParentEngine> scene)
    {
        super.render(graphics, scene);
        Color resetColor = graphics.getColor();
        Graphics2D g2d = (Graphics2D)graphics;
        Stroke resetStroke = g2d.getStroke();
        g2d.setColor(this.color);
        g2d.setStroke(new BasicStroke(this.thickness));
        g2d.drawLine(this.start.getX(), this.start.getY(), this.end.getX(), this.end.getY());
        g2d.setStroke(resetStroke);
        graphics.setColor(resetColor);
    }
@ Override protected final void render ( Graphics graphics , Scene < ParentEngine > scene ) { super . render ( graphics , scene ) ; Color resetColor = graphics . getColor ( ) ; Graphics2D g2d = ( Graphics2D ) graphics ; Stroke resetStroke = g2d . getStroke ( ) ; g2d . setColor ( this . color ) ; g2d . setStroke ( new BasicStroke ( this . thickness ) ) ; g2d . drawLine ( this . start . getX ( ) , this . start . getY ( ) , this . end . getX ( ) , this . end . getY ( ) ) ; g2d . setStroke ( resetStroke ) ; graphics . setColor ( resetColor ) ; }
Render the Line out.
Render the Line out .