Удалить 'ProjectExcavator/src/DrawingRollers.java'

This commit is contained in:
insideq 2024-06-08 11:40:09 +04:00
parent 385f78a9e0
commit 0ed9b60134

View File

@ -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);
}
}