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