Represents an interactor agent. More...
Public Member Functions | |
Task< IEnumerable< IInteractor > > | FindInteractorsAsync (Rectangle rect, CancellationToken cancellationToken) |
Finds the interactors affected by the provided Rectangle. This operation can be cancelled using the specified CancellationToken. More... | |
void | HandleEvent (InteractionEvent interactionEvent) |
Handles the provided Model.InteractionEvent. More... | |
Represents an interactor agent.
Task<IEnumerable<IInteractor> > FindInteractorsAsync | ( | Rectangle | rect, |
CancellationToken | cancellationToken | ||
) |
Finds the interactors affected by the provided Rectangle. This operation can be cancelled using the specified CancellationToken.
rect | The query. |
cancellationToken | The cancellation token. |
Implemented in InteractorAgent, and ProviderInteractorAgent< TProvider >.
void HandleEvent | ( | InteractionEvent | interactionEvent | ) |
Handles the provided Model.InteractionEvent.
interactionEvent | The event to handle. |