public string GetFirstMessage() { var command = new Command("") {Id = _id}; var state = (GameState)_machine.Process(command).First(); return state.Message; }
public string ExecuteCommand(string text) { var command = new Command(text) { Id = _id }; var state = (GameState)_machine.Process(command).First(); return state.Message; }