Add extra starter method

This commit is contained in:
Matthew Slowe 2020-04-05 13:25:51 +01:00
parent ce1e7a2fe5
commit f92d4df210

View File

@ -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];