Interface for a scene event fired when the game mode state changes. Declares OnGameStateChanged with old and new GameModeState parameters and inherits from ISceneEvent<IGameStateChanged>.
using Machines.GameModes;
namespace Machines.Events;
/// <summary>
/// Fired when the game mode transitions between states.
/// </summary>
public interface IGameStateChanged : ISceneEvent<IGameStateChanged>
{
void OnGameStateChanged( GameModeState oldState, GameModeState newState );
}