コード例 #1
0
 public void SetCurrentStance(string ring)
 {
     if (string.IsNullOrEmpty(ring))
     {
         CurrentStance = ring;
     }
     else if (Rings.ContainsKey(ring))
     {
         CurrentStance = ring;
     }
     else
     {
         throw new ArgumentException($"Changement de posture: Anneau en paramètre incorrect : {ring}");
     }
 }