mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-07-12 10:42:29 +00:00
Add extra starter method
This commit is contained in:
@ -158,6 +158,10 @@ public class GridFactory {
|
|||||||
return makeGrid(words, height, width, false, true);
|
return makeGrid(words, height, width, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static char[][] makeGrid(List<String> words, int height, int width, boolean simple) {
|
||||||
|
return makeGrid(words, height, width, simple, true);
|
||||||
|
}
|
||||||
|
|
||||||
public static char[][] makeGrid(List<String> words, int height, int width, boolean simple, boolean fill) {
|
public static char[][] makeGrid(List<String> words, int height, int width, boolean simple, boolean fill) {
|
||||||
char[][] grid = new char[height][width];
|
char[][] grid = new char[height][width];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user