Struct InteractionOptionDisplay
Presentation-only description of a single interaction option.
public readonly struct InteractionOptionDisplay
Remarks
This exists so InteractionView never has to read the domain Interactable or InteractableOption types. The Interactor translates domain data into this structure, which keeps the view replaceable without touching the model.
Constructors
InteractionOptionDisplay(string, float)
Creates a display description for an interaction option.
public InteractionOptionDisplay(string prompt, float duration)
Parameters
| Name | Type | Description |
|---|---|---|
prompt | string | The prompt text shown to the player. |
duration | float | Hold duration in seconds. |