Beispiel #1
0
 public void Choose()
 {
     if (_selectedItem == RetryMessage)
     {
         _agent.Reset();
     }
     else
     {
         _agent.Quit();
     }
 }
        public void Choose()
        {
            switch (_selectedItem)
            {
            case SubmitScoreMessage:
                _agent.SubmitScore();
                break;

            case RetryMessage:
                _agent.Reset();
                break;

            default:
                _agent.Quit();
                break;
            }
        }
Beispiel #3
0
        public void Choose()
        {
            switch (_selectedItem)
            {
            case ContinueMessage:
                _agent.Continue();
                break;

            case RetryMessage:
                _agent.Reset();
                break;

            default:
                _agent.Quit();
                break;
            }
        }
Beispiel #4
0
 public void Execute()
 {
     _agent.Reset();
 }