Class ServerBoardHelper

java.lang.Object
megamek.server.ServerBoardHelper

public class ServerBoardHelper extends Object
  • Method Details

    • scanForBoards

      public static List<String> scanForBoards(MapSettings mapSettings)
      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

      public static Board getPossibleGameBoard(MapSettings mapSettings, boolean onlyFixedBoards)
      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.