Update Project
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user