Пример #1
0
        public string GetFirstMessage()
        {
            var command = new Command("") {Id = _id};

            var state = (GameState)_machine.Process(command).First();

            return state.Message;
        }
Пример #2
0
        public string ExecuteCommand(string text)
        {
            var command = new Command(text) { Id = _id };

            var state = (GameState)_machine.Process(command).First();

            return state.Message;
        }