コード例 #1
0
 /// <summary>
 /// Loads the Teams into the game class so that they can be used to play the game
 /// </summary>
 /// <param name="teamA"></param>
 /// <param name="teamB"></param>
 private void loadTeams(Team teamA, Team teamB)
 {
     game.loadTeamA(teamA);
     game.loadTeamB(teamB);
     Debug.WriteLine(teamA);
     Debug.WriteLine(teamB);
 }
コード例 #2
0
ファイル: Game.cs プロジェクト: bdr27/LeaderBoardApplication
 public void loadTeamB(Team team)
 {
     teamB = new TeamPlay(team.getPlayerFirstName(), team.getTeamName());
 }