namespace FlappyBird.Core
{
    /// <summary>
    /// Contract for the death-handling service.
    /// Implementations react to a GameOver state transition and apply
    /// all necessary side-effects (freeze bird, clear pipes, etc.).
    /// </summary>
    public interface IDeathHandler
    {
        /// <summary>
        /// Executes all death side-effects.
        /// Called by the subscriber wired up in the installer.
        /// </summary>
        void HandleDeath();
    }
}