void loadWorldCoastline() { StreamReader file = new StreamReader(WORLD_COASTLINE_PATH); while (!file.EndOfStream) { string name = file.ReadLine(); file.ReadLine(); //skip POLYGON tag worldCoastline = new Poly(file, Visualizer.SHAPE_TYPE_POLYGON); } file.Close(); }
public void AddShape(Shape shape, string name) { shapes.Add(shape); shapeNames.Add(name); }