1 package cz.cuni.amis.pogamut.defcon.communication.worldview.polygons.loaders.borders; 2 3 import java.io.IOException; 4 import java.util.List; 5 6 import cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation; 7 8 /** 9 * Interface for saving of borders. 10 * 11 * @author Radek 'Black_Hand' Pibil 12 * 13 */ 14 public interface IPrecomputedBordersSaver { 15 /** 16 * Saves a single set of borders. 17 * 18 * @param name 19 * @param territoryBorders 20 * @throws IOException 21 */ 22 void saveBorderOfTerritory(String name, 23 List<List<DefConLocation>> territoryBorders) throws IOException; 24 }