コード例 #1
0
 public ProfileViewModel(Profile Profile)
     : base(Profile.Id)
 {
     this.DefaultColor = Profile.DefaultColor;
     this.PlayersViewModel = new Collection<PlayerViewModel>();
     foreach(var player in Profile.PlayerAccounts)
     {
         this.PlayersViewModel.Add(new PlayerViewModel(player));
     }
 }
コード例 #2
0
ファイル: Player.cs プロジェクト: R4CLucky14/DotsWithFriends
 public Player(Profile Profile)
     : base()
 {
     this.Color = Profile.DefaultColor;
     this.Score = 0;
 }