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