// Duplication internal DefinedTextureSet Copy() { // Make a copy DefinedTextureSet s = new DefinedTextureSet(this.name); s.filters = new List <string>(this.filters); return(s); }
// Texture set from defined set public MatchingTextureSet(DefinedTextureSet definedset) { // Copy the name this.name = definedset.Name; // Copy the filters this.filters = new List <string>(definedset.Filters); // Setup Setup(); }
// Texture Sets private void LoadTextureSets() { IDictionary dic; // Get sets dic = cfg.ReadSetting("texturesets", new Hashtable()); foreach (DictionaryEntry de in dic) { DefinedTextureSet s = new DefinedTextureSet(cfg, "texturesets." + de.Key.ToString()); texturesets.Add(s); } }