public final class BoardLoaderUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Board |
loadBoard(java.lang.String boardFile,
java.util.List<Robot> robotList)
Loads a board described in a file
|
static Board |
loadBoardRotated(java.lang.String boardFile,
java.util.List<Robot> robotList,
boolean clockwise)
Loads and rotates a board described in a file
|
public static Board loadBoardRotated(java.lang.String boardFile, java.util.List<Robot> robotList, boolean clockwise) throws java.io.IOException
boardFile - The file containing the board descriptionrobotList - A list of robots on the boardclockwise - Whether to rotate the board clockwisejava.io.IOException - If the board file cannot be loadedpublic static Board loadBoard(java.lang.String boardFile, java.util.List<Robot> robotList) throws java.io.IOException
boardFile - The file containing the board descriptionrobotList - A list of robots on the boardjava.io.IOException - If the board file cannot be loaded