5dplomacy/MultiversalDiplomacy/Script/ReplScriptHandler.cs

17 lines
334 B
C#
Raw Normal View History

2024-08-16 21:39:13 +00:00
namespace MultiversalDiplomacy.Script;
/// <summary>
/// A script handler for the interactive repl.
/// </summary>
public class ReplScriptHandler : IScriptHandler
{
public string Prompt => "5dp> ";
public IScriptHandler? HandleInput(string input)
{
Console.WriteLine($"[{input}]");
return this;
}
}