lab3 some minor fixes
This commit is contained in:
parent
9549cdbfa5
commit
0190f57a9c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user