public final class BoardLoaderUtil
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String[] | 
getBoardListHumanReadable()
Gets a list of all available boards with human-readable names 
 | 
static java.lang.String | 
getRealBoardName(java.lang.String boardName)
Gets the actual file name of a board given its human-readable name 
 | 
static Board | 
loadBoard(java.lang.String boardFile,
         java.util.List<Robot> robotList)
Loads a board described in a file 
 | 
public static java.lang.String getRealBoardName(java.lang.String boardName)
boardName - The human-readable name of a boardpublic static java.lang.String[] getBoardListHumanReadable()
                                                    throws java.io.IOException
java.io.IOException - If the board list cannot be readpublic 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