HardLab1
This commit is contained in:
parent
93cdbfed6e
commit
713b70615a
@ -27,8 +27,6 @@ public class DrawingOars extends JComponent {
|
||||
_startXCoordOar += 40;
|
||||
_startYCoordOar += 33;
|
||||
|
||||
System.out.println("oarsNum(drawOars): "+ oarsNumber);
|
||||
|
||||
switch (oarsNumber) {
|
||||
case One:
|
||||
paintPaddle(g, _startXCoordOar, _startYCoordOar, _startYCoordOar + 16,pen);
|
||||
|
@ -35,7 +35,6 @@ public class DrawingSpeedBoat extends JComponent {
|
||||
isMotor, isProtectedGLass);
|
||||
drawingOars = new DrawingOars();
|
||||
drawingOars.setOarNumber(oarsNumber);
|
||||
System.out.println("oarsNum(DrSpeedBoat): "+oarsNumber);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,6 @@ public class PictureBox extends JPanel {
|
||||
drawingSpeedBoat = new DrawingSpeedBoat();
|
||||
|
||||
int oars = random.nextInt(1, 4);
|
||||
System.out.println("OARS: "+oars);
|
||||
drawingSpeedBoat.Init(random.nextInt(50, 150),
|
||||
random.nextInt(40, 120),
|
||||
new Color(random.nextInt(0, 256), random.nextInt(0, 256),
|
||||
|
Loading…
Reference in New Issue
Block a user