Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }