feat: initial import
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using R3;
|
||||
|
||||
namespace GodotHostTest.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// A target for our projectiles.
|
||||
/// </summary>
|
||||
public interface ITarget
|
||||
{
|
||||
/// <summary>
|
||||
/// The target hasn't been hit in the allotted time and has timed out.
|
||||
/// </summary>
|
||||
Observable<Unit> TimedOut { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The target has been hit.
|
||||
/// </summary>
|
||||
Observable<Unit> Hit { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Enable the target. Targets start disabled and gets disabled when they're hit or time out.
|
||||
/// </summary>
|
||||
void Enable();
|
||||
}
|
||||
Reference in New Issue
Block a user