示例#1
0
 /// <summary>
 /// Removes a specified appearance attribute from the character
 /// </summary>
 /// <param name="attribute"></param>
 public void RemoveAppearanceAttribute(IAppearanceAttribute attribute)
 {
     if (Appearance.Contains(attribute))
     {
         Appearance.Remove(attribute);
     }
 }
示例#2
0
 /// <summary>
 /// Adds an appearance attribute to the character
 /// </summary>
 /// <param name="attribute"></param>
 public void AddAppearanceDescription(IAppearanceAttribute attribute)
 {
     if (Appearance.Contains(attribute))
     {
         return;
     }
     else
     {
         Appearance.Add(attribute);
     }
 }
示例#3
0
 /// <summary>
 /// Removes a specified appearance attribute from the character
 /// </summary>
 /// <param name="attribute"></param>
 public void RemoveAppearanceAttribute(IAppearanceAttribute attribute)
 {
     if (Appearance.Contains(attribute))
         Appearance.Remove(attribute);
 }
示例#4
0
 /// <summary>
 /// Adds an appearance attribute to the character
 /// </summary>
 /// <param name="attribute"></param>
 public void AddAppearanceDescription(IAppearanceAttribute attribute)
 {
     if (Appearance.Contains(attribute))
         return;
     else
         Appearance.Add(attribute);
 }