PIbd-14_Antonova_A.A.__Hard/DrawningWeels.java

18 lines
324 B
Java
Raw Permalink Normal View History

2024-05-09 20:09:37 +04:00
import java.awt.*;
public class DrawningWeels {
private int count = 0;
DrawningWeels (int n){
count = n;
}
public int get_countWheels(){
return count;
}
public void DrawningWeel (Graphics g, int x, int y){
g.setColor(Color.BLACK);
g.fillOval(x, y, 25, 25);
}
}