Interface IPauseStrategy
Strategy interface for applying and removing pause behavior.
Namespace: Serenity.GameMode.Domain.Interfaces
Assembly: Serenity.GameMode.Domain.dll
Syntax
public interface IPauseStrategy
Remarks
Implementations can control various aspects of pause behavior such as time scale, audio, physics, or custom game systems.
Methods
ApplyPause()
Applies the pause state to the game.
Declaration
void ApplyPause()
RemovePause()
Removes the pause state, restoring normal operation.
Declaration
void RemovePause()