32 lines
843 B
C#
32 lines
843 B
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 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();
|
|||
|
|
}
|
|||
|
|
}
|