@Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        if (rotation % 2 == 1) {
            g.drawRect(50, 85, 100, 30);
            g.drawLine(0, 100, 50, 100);
            g.drawLine(150, 100, 200, 100);
            g.drawLine(45, 130, 155, 70);
            g.drawLine(145, 70, 155, 70);
            g.drawLine(155, 70, 150, 78);
        }
        if (rotation % 2 == 0) {
            g.drawRect(85, 50, 30, 100);
            g.drawLine(100, 0, 100, 50);
            g.drawLine(100, 150, 100, 200);
            g.drawLine(130, 45, 70, 155);
            g.drawLine(70, 145, 70, 155);
            g.drawLine(70, 155, 78, 150);
        }

    }