From 0ed9b601343df22482fd62d31542d0e31cdab0dd Mon Sep 17 00:00:00 2001 From: insideq Date: Sat, 8 Jun 2024 11:40:09 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20'P?= =?UTF-8?q?rojectExcavator/src/DrawingRollers.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectExcavator/src/DrawingRollers.java | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 ProjectExcavator/src/DrawingRollers.java diff --git a/ProjectExcavator/src/DrawingRollers.java b/ProjectExcavator/src/DrawingRollers.java deleted file mode 100644 index e42b12f..0000000 --- a/ProjectExcavator/src/DrawingRollers.java +++ /dev/null @@ -1,24 +0,0 @@ -import java.awt.*; - -public class DrawingRollers { - private RollersCount rollersCount; - public void setRollersCount(int numOfRoller){ - for (RollersCount numofenum : RollersCount.values()){ - if (numofenum.getNumOfRollers() == numOfRoller){ - rollersCount = numofenum; - return; - } - } - } - - public RollersCount getRollersCount(){ - return rollersCount; - } - public void DrawRollers(Graphics g, int x, int y, int width, int height, Color bodyColor){ - g.setColor(bodyColor); - g.fillOval(x, y, width, height); - g.setColor(Color.BLACK); - g.drawOval(x, y, width, height); - g.setColor(bodyColor); - } -}