First steps
This commit is contained in:
31
Assets/Scripts/PuzzleS/IPuzzlePrompt.cs
Normal file
31
Assets/Scripts/PuzzleS/IPuzzlePrompt.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user