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
ItemPauseMenuItemThe UI item descriptor.
ActionPauseMenuActionThe action to execute when selected.
Properties
Action
The action to execute when selected.
public PauseMenuAction Action { get; init; }
Property Value
Item
The UI item descriptor.
public PauseMenuItem Item { get; init; }