public TerrainPaintBrushCatalogResource(int APIversion, Stream unused, TerrainPaintBrushCatalogResource basis) : base(APIversion, null, basis) { this.brushTexture = (TGIBlock)basis.brushTexture.Clone(OnResourceChanged); this.terrain = basis.terrain; this.category = basis.category; }