Package megamek.server
Class ServerBoardHelper
java.lang.Object
megamek.server.ServerBoardHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic BoardgetPossibleGameBoard(MapSettings mapSettings, boolean onlyFixedBoards) Returns the game map as it is currently set in the map settings tab.scanForBoards(MapSettings mapSettings) Returns a list of path names of available boards of the size set in the given mapSettings.
-
Method Details
-
scanForBoards
Returns a list of path names of available boards of the size set in the given mapSettings. The path names are minus the '.board' extension and relative to the boards data directory. -
getPossibleGameBoard
Returns the game map as it is currently set in the map settings tab. When onlyFixedBoards is true, all Generated and Surprise boards are replaced by empty boards, otherwise they are filled with a generated or a choice of the surprise maps.
-