Files
godot-host-test/Interfaces/IScore.cs
T
2026-07-11 10:54:02 +02:00

22 lines
428 B
C#

namespace GodotHostTest.Interfaces;
/// <summary>
/// An object that keeps track of the score.
/// </summary>
public interface IScore
{
/// <summary>
/// A target has been hit.
/// </summary>
void TargetHit();
/// <summary>
/// A target has timed out.
/// </summary>
void TargetTimedOut();
/// <summary>
/// The current score.
/// </summary>
public int Score { get; }
}