15 lines
253 B
C#
15 lines
253 B
C#
using System;
|
|
|
|
namespace FlappyBird.Core
|
|
{
|
|
public class PipePassedNotifier : IPipePassedNotifier
|
|
{
|
|
public event Action OnPipePassed;
|
|
|
|
public void NotifyPipePassed()
|
|
{
|
|
OnPipePassed?.Invoke();
|
|
}
|
|
}
|
|
}
|