Table of Contents

Struct PauseMenuEntry

Namespace
LibreRally
Assembly
LibreRally.dll

Represents an entry in the pause menu, associating a UI Item with an Action.

public readonly record struct PauseMenuEntry : IEquatable<PauseMenuEntry>
Implements
Inherited Members

Constructors

PauseMenuEntry(PauseMenuItem, PauseMenuAction)

Represents an entry in the pause menu, associating a UI Item with an Action.

public PauseMenuEntry(PauseMenuItem Item, PauseMenuAction Action)

Parameters

Item PauseMenuItem

The UI item descriptor.

Action PauseMenuAction

The action to execute when selected.

Properties

Action

The action to execute when selected.

public PauseMenuAction Action { get; init; }

Property Value

PauseMenuAction

Item

The UI item descriptor.

public PauseMenuItem Item { get; init; }

Property Value

PauseMenuItem