Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.35 KB | None | 0 0
  1.         public void Test()
  2.         {
  3.             Talent talent = new Talent();
  4.             talent.ModifyTalent('1');
  5.  
  6.             TalentRow talentRow = new TalentRow();
  7.             talentRow.ModifyTalents(new List<Talent>
  8.                                         {
  9.                                             talent
  10.                                         });
  11.             Talents talents = new Talents();
  12.             talents.ReplaceRows(new Dictionary<int, TalentRow>
  13.                                     {
  14.                                         { 0, talentRow }
  15.                                     });
  16.  
  17.             char someTalent = talents.GetTalents[0].GetListOfTalents[0].GetTalent;
  18.         }
  19.  
  20.         public void TestTwo()
  21.         {
  22.             Talent talent = new Talent('1');
  23.  
  24.             TalentRow talentRow = new TalentRow(new List<Talent>
  25.                                                     {
  26.                                                         talent
  27.                                                     });
  28.             Talents talents = new Talents(new Dictionary<int, TalentRow>
  29.                                               {
  30.                                                   { 0, talentRow}
  31.                                               });
  32.  
  33.             char someTalent = talents.GetTalents[0].GetListOfTalents[0].GetTalent;
  34.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement