Esempio n. 1
0
 public Skill(Player player, [NotNull] SkillCap cap)
 {
     if (cap == null)
         throw new ArgumentNullException("cap");
     this.player = player;
     this.cap = cap;
 }
Esempio n. 2
0
 public Skill(Player player, [NotNull] SkillCap cap)
 {
     if (cap == null)
     {
         throw new ArgumentNullException("cap");
     }
     this.player = player;
     this.cap    = cap;
 }