.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using R3;
|
||||
|
||||
namespace GodotHostTest.Interfaces;
|
||||
|
||||
public interface ITargetEventBus
|
||||
{
|
||||
/// <summary>
|
||||
/// A target has timed out and disappeared.
|
||||
/// </summary>
|
||||
Observable<Unit> TimedOut { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A target has been hit.
|
||||
/// </summary>
|
||||
Observable<Unit> Hit { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A new target spawner has been added.
|
||||
/// </summary>
|
||||
/// <param name="targetSpawner"></param>
|
||||
void NewTargetSpawner(ITargetSpawner targetSpawner);
|
||||
}
|
||||
Reference in New Issue
Block a user