22 lines
428 B
C#
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; }
|
|
} |