Class BLKStructureFile

java.lang.Object
megamek.common.loaders.BLKFile
megamek.common.loaders.BLKStructureFile
All Implemented Interfaces:
IMekLoader

public class BLKStructureFile extends BLKFile implements IMekLoader
  • Constructor Details

    • BLKStructureFile

      public BLKStructureFile(BuildingBlock block)
  • Method Details

    • getEntity

      public Entity getEntity() throws Exception
      Specified by:
      getEntity in interface IMekLoader
      Returns:
      A valid mek, matching the file to the best of MegaMek's current capabilities
      Throws:
      Exception - when the file type isn't understood or the file can't be parsed.