Files
Flappy-Bird-AI-Driven-Result/Assets/Scripts/Core/IScoreManager.cs
T
2026-03-16 14:38:46 +02:00

15 lines
307 B
C#

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();
}
}