예제 #1
0
파일: TalentItem.cs 프로젝트: tsebalj1/rawr
 public TalentItem(TalentTree talentTree, string talentName, int row, int col, int index, string[] description, string icon, int currentRank, int maxRank, TalentItem prereq)
 {
     _talentTree  = talentTree;
     _talentName  = talentName;
     _row         = row;
     _col         = col;
     _index       = index;
     _description = description;
     _iconName    = icon;
     _maxRank     = maxRank;
     _currentRank = currentRank > maxRank ? maxRank : currentRank;
     Prereq       = prereq;
     UpdateIcon();
     UpdateOverlay();
 }
예제 #2
0
파일: TalentItem.cs 프로젝트: tsebalj1/rawr
 public TalentItem(TalentTree talentTree, string talentName, int row, int col, int index, string[] description, string icon, int currentRank, int maxRank)
     : this(talentTree, talentName, row, col, index, description, icon, currentRank, maxRank, null)
 {
 }