This commit is contained in:
Milana Ievlewa 2023-12-18 18:09:31 +03:00
parent 93cdbfed6e
commit 713b70615a
3 changed files with 0 additions and 4 deletions

View File

@ -27,8 +27,6 @@ public class DrawingOars extends JComponent {
_startXCoordOar += 40; _startXCoordOar += 40;
_startYCoordOar += 33; _startYCoordOar += 33;
System.out.println("oarsNum(drawOars): "+ oarsNumber);
switch (oarsNumber) { switch (oarsNumber) {
case One: case One:
paintPaddle(g, _startXCoordOar, _startYCoordOar, _startYCoordOar + 16,pen); paintPaddle(g, _startXCoordOar, _startYCoordOar, _startYCoordOar + 16,pen);

View File

@ -35,7 +35,6 @@ public class DrawingSpeedBoat extends JComponent {
isMotor, isProtectedGLass); isMotor, isProtectedGLass);
drawingOars = new DrawingOars(); drawingOars = new DrawingOars();
drawingOars.setOarNumber(oarsNumber); drawingOars.setOarNumber(oarsNumber);
System.out.println("oarsNum(DrSpeedBoat): "+oarsNumber);
return true; return true;
} }

View File

@ -43,7 +43,6 @@ public class PictureBox extends JPanel {
drawingSpeedBoat = new DrawingSpeedBoat(); drawingSpeedBoat = new DrawingSpeedBoat();
int oars = random.nextInt(1, 4); int oars = random.nextInt(1, 4);
System.out.println("OARS: "+oars);
drawingSpeedBoat.Init(random.nextInt(50, 150), drawingSpeedBoat.Init(random.nextInt(50, 150),
random.nextInt(40, 120), random.nextInt(40, 120),
new Color(random.nextInt(0, 256), random.nextInt(0, 256), new Color(random.nextInt(0, 256), random.nextInt(0, 256),