18 lines
324 B
Java
18 lines
324 B
Java
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);
|
|
}
|
|
}
|