public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, VampiirBoltSpellHandler spellHandler)
     : base(actionSource)
 {
     if (boltTarget == null)
         throw new ArgumentNullException("boltTarget");
     if (spellHandler == null)
         throw new ArgumentNullException("spellHandler");
     m_boltTarget = boltTarget;
     m_handler = spellHandler;
 }
Beispiel #2
0
 public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, VampiirBoltSpellHandler spellHandler)
     : base(actionSource)
 {
     if (boltTarget == null)
     {
         throw new ArgumentNullException("boltTarget");
     }
     if (spellHandler == null)
     {
         throw new ArgumentNullException("spellHandler");
     }
     m_boltTarget = boltTarget;
     m_handler    = spellHandler;
 }
Beispiel #3
0
 public BoltOnTargetAction(GameLiving actionSource, GameLiving boltTarget, VampiirBoltSpellHandler spellHandler)
     : base(actionSource)
 {
     m_boltTarget = boltTarget ?? throw new ArgumentNullException(nameof(boltTarget));
     m_handler    = spellHandler ?? throw new ArgumentNullException(nameof(spellHandler));
 }