2020-05-04 17:50:02 -04:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
2018-04-26 02:13:04 -04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// handles games events (from log, manual events, etc)
|
2018-04-26 02:13:04 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IEventHandler
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// Add a game event event to the queue to be processed
|
2018-04-26 02:13:04 -04:00
|
|
|
|
/// </summary>
|
2020-05-04 17:50:02 -04:00
|
|
|
|
/// <param name="manager">application manager instance</param>
|
|
|
|
|
/// <param name="gameEvent">game event</param>
|
|
|
|
|
void HandleEvent(IManager manager, GameEvent gameEvent);
|
2018-04-26 02:13:04 -04:00
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|