namespace FlappyBird.Gameplay.Pipes
{
///
/// Contract for the pipe-spawning service.
///
public interface IPipeSpawner
{
///
/// Called every frame (from a MonoBehaviour Tick).
/// Accumulates delta time and triggers a spawn when the interval elapses.
///
/// Time.deltaTime supplied by the caller.
void Tick(float deltaTime);
/// Resets the internal spawn timer.
void ResetTimer();
}
}