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. /// public ScriptResult HandleInput(string input); }