public void mod(IModable modable) { if (modable.GetType() != GetType()) { Debug.LogError($"Type mismatch in mod(): {modable.GetType()} != {GetType()}"); return; } ModableObjectHashDictionary <V> modData = (ModableObjectHashDictionary <V>)modable; foreach (KeyValuePair <string, V> entry in modData) { if (!ContainsKey(entry.Key)) { this[entry.Key] = Modable.copyDeep(entry.Value); continue; } this[entry.Key] = Modable.mod(this[entry.Key], entry.Value); } }
public override void mod(IModable modable) { }
public void mod(IModable modable) { throw new System.NotImplementedException(); }
public void mod(IModable modable) { ModableTexture modableTexture = (ModableTexture)modable; Path = Modable.mod(Path, modableTexture.Path); }
public abstract void mod(IModable modable);
public override void mod(IModable modable) { base.mod(modable); }