public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, StarsProc spellHandler) : base(actionSource) { if (boltTarget == null) throw new ArgumentNullException("boltTarget"); if (spellHandler == null) throw new ArgumentNullException("spellHandler"); m_boltTarget = boltTarget; m_handler = spellHandler; }
public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, StarsProc spellHandler) : base(actionSource) { if (boltTarget == null) { throw new ArgumentNullException("boltTarget"); } if (spellHandler == null) { throw new ArgumentNullException("spellHandler"); } m_boltTarget = boltTarget; m_handler = spellHandler; }
public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, StarsProc spellHandler) : base(actionSource) { m_boltTarget = boltTarget ?? throw new ArgumentNullException(nameof(boltTarget)); m_handler = spellHandler ?? throw new ArgumentNullException(nameof(spellHandler)); }