using R3;
namespace GodotHostTest.Interfaces;
///
/// A target for our projectiles.
///
public interface ITarget
{
///
/// The target hasn't been hit in the allotted time and has timed out; once this observable emits an event, both
/// it and complete.
///
Observable TimedOut { get; }
///
/// The target has been hit; once this observable emits an event, both it and complete.
///
Observable Hit { get; }
///
/// Enable the target. Targets start disabled and gets disabled when they're hit or time out.
///
void Enable();
}