loader = TdbFile.getInstance(is); } else if (lowerName.endsWith(".blk")) { BuildingBlock bb = new BuildingBlock(is); if (bb.exists("UnitType")) { String sType = bb.getDataAsString("UnitType")[0];
public static BuildingBlock getBlock(Entity t) { BuildingBlock blk = new BuildingBlock(); blk.createNewBlock();