PIbd-23. Zakharov R.A. Lab work 03 #4

Closed
Zakharov_Rostislav wants to merge 7 commits from Lab3 into Lab2
Showing only changes of commit 0190f57a9c - Show all commits

View File

@ -35,7 +35,6 @@ public class HardFrame extends JFrame {
do {
check = generic.insertBlock(generic.makeRandomBlock());
}while(check);
buttonMakeObject.addActionListener(e -> {
DrawingShip drawingShip = generic.makeObject();
drawingShip.setPosition(pictureBoxWidth / 2 - drawingShip.getWidth()/2, pictureBoxHeight / 2 - drawingShip.getHeight()/2);