Initial Commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace FlappyBird.Core
|
||||
{
|
||||
public interface IScoreManager
|
||||
{
|
||||
int CurrentScore { get; }
|
||||
int BestScore { get; }
|
||||
event Action<int> OnScoreChanged;
|
||||
event Action<int> OnBestScoreChanged;
|
||||
void AddScore(int points);
|
||||
void ResetScore();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user