コード例 #1
0
 private void requestTheTeam(TeamInData team)
 {
     if (_iInput == null)
     {
         return;
     }
     _iInput.ReceiveTheTeam(team);
     //throw new NotImplementedException();
 }
コード例 #2
0
        // produce teamChosen from Team InputData

        Team produceTeamChosen(TeamInData teamIn)
        {
            return(new Team()
            {
                Id = teamIn.Id,
                TeamName = teamIn.TeamName,
                Point = teamIn.Point
            });
        }
コード例 #3
0
        public void ChooseTeam(string teamId, string teamName)
        {
            TeamInData team = new TeamInData();

            team.Id       = teamId;
            team.TeamName = teamName;
            team.Point    = -1;

            requestTheTeam(team);
            //throw new NotImplementedException();
        }
コード例 #4
0
 public void ReceiveTheTeam(TeamInData data)
 {
     TeamChosen = produceTeamChosen(data);
     //throw new NotImplementedException();
 }