/// <summary> /// Removes a modifier from the set. /// </summary> /// <param name="modifier">the modifier to remove from the set.</param> /// <returns>the original set with the modifiers removed.</returns> public DanmakuSet RemoveModifier(IDanmakuModifier modifier) { Modifiers.Remove(modifier); return(this); }
/// <summary> /// Adds a modifier to the set. /// </summary> /// <param name="modifier">the modifier to add</param> /// <returns>the original set with the modifier added.</returns> public DanmakuSet AddModifier(IDanmakuModifier modifier) { Modifiers.Add(modifier); return(this); }