PIbd-11 Karakozov_AK LabWork03 Hard #3

Closed
insideq wants to merge 25 commits from LabWork03 into LabWork02
Showing only changes of commit a79adc1793 - Show all commits

View File

@ -1,16 +0,0 @@
import javax.swing.*;
import java.awt.*;
public class CanvasExcavator extends JComponent{
public DrawingExcavator _drawingExcavator;
public CanvasExcavator(){}
public void paintComponent(Graphics g){
if(_drawingExcavator == null){
return;
}
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
_drawingExcavator.DrawTransport(g2d);
super.repaint();
}
}