(int n)
| 32 | } |
| 33 | |
| 34 | public static int randomInt(int n) { |
| 35 | return (int) (Math.random() * n); |
| 36 | } |
| 37 | |
| 38 | public static boolean PaintFill(Color[][] screen, int x, int y, Color ocolor, Color ncolor) { |
| 39 | if (x < 0 || x >= screen[0].length || y < 0 || y >= screen.length) { |