using UnityEngine;
namespace IdleSpectator;
///
/// Compatibility shim: WorldLog / discovery / harness still call here.
/// Selection goes only through (no dual-feed queue).
///
public static class InterestCollector
{
public static void OnWorldLogMessage(WorldLogMessage message)
{
InterestFeeds.OnWorldLogMessage(message);
}
public static void EnqueueDirect(InterestEvent interest)
{
InterestFeeds.RegisterDirect(interest);
}
public static int PendingCount => InterestRegistry.PendingCount;
public static bool HasPendingScoreAtLeast(float minScore)
{
return InterestRegistry.HasPendingScoreAtLeast(minScore);
}
public static void Clear()
{
InterestRegistry.Clear();
}
/// Obsolete: director no longer pops from a queue. Kept for compile safety.
public static bool TryGetBest(out InterestEvent best)
{
best = null;
return false;
}
/// Obsolete no-op.
public static void Remove(InterestEvent interest)
{
// Registry marks selected via InterestDirector.
}
}