logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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()
    In this article
    © 2026 Serenity. All Rights Reserved