private void TryAttack(Player player) { AttackTimer.Tick(); if (AttackTimer.IsReady) { player.TakeDamage(Damage); AttackTimer.Restart(); } }