logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGameScreenPresenter

    Presenter port for game screen navigation.

    Namespace: Serenity.GameUi.Application.Interfaces.Presenters
    Assembly: Serenity.GameUi.Application.dll
    Syntax
    public interface IGameScreenPresenter
    Remarks

    Implementations react to active-screen changes and drive a concrete UI. The business layer calls these methods; the infrastructure decides how to render.

    Methods

    ShowScreen(UiScreenId, UiScreenId)

    Shows the given screen, replacing the previously active one.

    Declaration
    void ShowScreen(UiScreenId screenId, UiScreenId previousScreenId)
    Parameters
    Type Name Description
    UiScreenId screenId

    The screen to activate.

    UiScreenId previousScreenId

    The screen that was active before this change.

    In this article
    © 2026 Serenity. All Rights Reserved