namespace MultiversalDiplomacy.Script;
///
/// A handler that interprets and executes 5dp script commands. Script handlers may create additional script handlers
/// and delegate handling to them, allowing a sort of recursive parsing of script commands.
///
public interface IScriptHandler
{
///
/// When used interactively, the prompt that should be displayed.
///
public string Prompt { get; }
///
/// Process a line of input.
///
///
/// The handler that should handle the next line of input, or null if script handling should end.
///
public IScriptHandler? HandleInput(string input);
}