mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-01-22 09:19:55 +00:00
Add extra starter method
This commit is contained in:
parent
ce1e7a2fe5
commit
f92d4df210
@ -158,6 +158,10 @@ public class GridFactory {
|
||||
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) {
|
||||
char[][] grid = new char[height][width];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user