public frmRuleSetDesigner()
 {
     InitializeComponent();
     Editors             = new List <EditOptions>();
     this.TerrainManager = new mapTileSetManager();
     HexGridPath         = new GraphicsPath();
     HexGridRect         = new GraphicsPath();
     //Init();
 }
        public virtual void CreateLibMapping()
        {
            //Creates initial data for the default Medieaveal Mapset

            mapTreeTerrain mt = new mapTreeTerrain("Terrain Type Tree", 0);

            mapTileSetManager.InitmapTerrainTree(mt);
            i.Save(mt);

            //Create defaults using existing mTree
            mapTileSetManager ttm = new mapTileSetManager(i);

            ttm.Init(mt, null);

            foreach (mapTerrainType st in ttm.TerrainTypes)
            {
                this.Add(st);
            }
            foreach (mapPOIType sp in ttm.POITypes)
            {
                this.Add(sp);
            }
        }