/// <summary> /// Initializes a new instance of the <see cref="SwingHitAbility" /> class. /// </summary> /// <param name="owner">The owner.</param> /// <param name="duration">The duration of a swing.</param> /// <param name="angle">The angle of the swing cone.</param> public SwingHitAbility(int duration = 700, float angle = 2, float range = 50, int damage = 1) { Duration = duration; Angle = angle; Range = range; Damage = damage; _level = Game1.Instance.Level; }
public InteractAbility(float range = 50) { Range = range; _level = Game1.Instance.Level; }
private CollisionManager() { _level = Game1.Instance.Level; }