namespace FlappyBird.Core
{
///
/// Contract for the score management service.
/// Matches the interface defined in AI_RULES.md.
///
public interface IScoreManager
{
/// Current score for this session.
int CurrentScore { get; }
/// All-time high score (persisted via PlayerPrefs).
int HighScore { get; }
/// Adds to the current score.
void AddScore(int points);
/// Resets the current score to zero (call on game restart).
void ResetScore();
/// Fired whenever the current score changes. Passes the new score value.
event System.Action OnScoreChanged;
/// Fired when a new high score is set. Passes the new high score value.
event System.Action OnHighScoreBeaten;
}
}