Files
AppleHillsProduction/Assets/Scripts/PuzzleS/IPuzzlePrompt.cs
tschesky e713a580a9 puzzlestep_indicators (#14)
Co-authored-by: Michal Pikulski <michal.a.pikulski@gmail.com>
Reviewed-on: #14
2025-10-02 05:42:17 +00:00

42 lines
1.1 KiB
C#

using System;
namespace PuzzleS
{
/// <summary>
/// Interface for proximity-based puzzle prompts that can show far/close indicators
/// based on player distance.
/// </summary>
public interface IPuzzlePrompt
{
/// <summary>
/// Called when the prompt should be initially shown (e.g., when step is unlocked)
/// </summary>
void OnShow();
/// <summary>
/// Called when the prompt should be hidden (e.g., when step is locked)
/// </summary>
void OnHide();
/// <summary>
/// Called when the player enters the outer range of the prompt.
/// </summary>
void ShowFar();
/// <summary>
/// Called when the player enters the inner range of the prompt.
/// </summary>
void ShowClose();
/// <summary>
/// Called when the player exits the inner range of the prompt.
/// </summary>
void HideClose();
/// <summary>
/// Called when the player exits the outer range of the prompt.
/// </summary>
void HideFar();
}
}