Exemple #1
0
        public string GetFirstMessage()
        {
            var command = new Command("") {Id = _id};

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

            return state.Message;
        }
Exemple #2
0
        public string ExecuteCommand(string text)
        {
            var command = new Command(text) { Id = _id };

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

            return state.Message;
        }