Ejemplo n.º 1
0
 public HealingMissle(Spell castedSpell,
     Vector2D position,
     Vector2D direction,
     TimeSpan timeCasted, int healing)
     : base(castedSpell, position, direction, timeCasted)
 {
     Healing = healing;
 }
Ejemplo n.º 2
0
 private SpinningMissle(Spell castedSpell,
     Vector2D position,
     Vector2D direction,
     TimeSpan timeCasted)
     : base(castedSpell, position,
     direction, timeCasted)
 {
     _spinningMissleState = SpinningMissleState.None;
 }
Ejemplo n.º 3
0
Archivo: Missle.cs Proyecto: 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;
 }