public HealingMissle(Spell castedSpell, Vector2D position, Vector2D direction, TimeSpan timeCasted, int healing) : base(castedSpell, position, direction, timeCasted) { Healing = healing; }
private SpinningMissle(Spell castedSpell, Vector2D position, Vector2D direction, TimeSpan timeCasted) : base(castedSpell, position, direction, timeCasted) { _spinningMissleState = SpinningMissleState.None; }
public Missle(Spell castedSpell, Vector2D position, Vector2D direction, TimeSpan timeCasted) { if (castedSpell == null) throw new ArgumentNullException(); CastedSpell = castedSpell; Position = position; Direction = direction; _timeCasted = timeCasted; }