From 9549cdbfa5be21cde9bc3bd5ffe0a2aaa2c89840 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Sat, 11 Nov 2023 18:08:56 +0400 Subject: [PATCH] lab3 some minor fixes --- src/drawing_objects/DrawingCrossBlocks.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drawing_objects/DrawingCrossBlocks.java b/src/drawing_objects/DrawingCrossBlocks.java index ef11ddf..06df864 100644 --- a/src/drawing_objects/DrawingCrossBlocks.java +++ b/src/drawing_objects/DrawingCrossBlocks.java @@ -25,7 +25,9 @@ public class DrawingCrossBlocks implements IDrawBlocks{ number = BlocksNumber.SIX; } @Override - public int getType() {return 2;} + public int getType() { + return 2; + } @Override public void drawBlocks(Graphics2D graphics2D, int _startX, int _startY){ graphics2D.fillRect(_startX+54, _startY+12, 2, 6);