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

            case RetryMessage:
                _agent.Reset();
                break;

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

            case RetryMessage:
                _agent.Reset();
                break;

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