logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGameHudPresenter

    Presenter port for the game HUD.

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

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

    Methods

    HideHud()

    Hides the HUD.

    Declaration
    void HideHud()

    ShowHud()

    Shows the HUD.

    Declaration
    void ShowHud()

    UpdateHud(HudState)

    Updates the HUD presentation to reflect the given state.

    Declaration
    void UpdateHud(HudState state)
    Parameters
    Type Name Description
    HudState state

    The new HUD state to present.

    In this article
    © 2026 Serenity. All Rights Reserved