Exemplo n.º 1
0
 public HealingMissle(Spell castedSpell,
     Vector2D position,
     Vector2D direction,
     TimeSpan timeCasted, int healing)
     : base(castedSpell, position, direction, timeCasted)
 {
     Healing = healing;
 }
Exemplo n.º 2
0
 private SpinningMissle(Spell castedSpell,
     Vector2D position,
     Vector2D direction,
     TimeSpan timeCasted)
     : base(castedSpell, position,
     direction, timeCasted)
 {
     _spinningMissleState = SpinningMissleState.None;
 }
Exemplo n.º 3
0
Arquivo: Missle.cs Projeto: kostya9/OP
 public Missle(Spell castedSpell,
     Vector2D position,
     Vector2D direction,
     TimeSpan timeCasted)
 {
     if (castedSpell == null)
         throw new ArgumentNullException();
     CastedSpell = castedSpell;
     Position = position;
     Direction = direction;
     _timeCasted = timeCasted;
 }