示例#1
0
 public Player(string name, Color playerCellColor, string playerId,
               bool isHuman, PassiveSkillsData passiveSkillsData, ActiveSkillsData activeSkillsData)
 {
     _passiveSkillsData     = passiveSkillsData;
     this._activeSkillsData = activeSkillsData;
     Name             = name;
     Color            = playerCellColor;
     PlayerId         = playerId;
     IsHuman          = isHuman;
     _growthScorecard = new GrowthScorecard();
 }
示例#2
0
 public Player(string name, Color playerCellColor, int playerNumber,
               ICellGrowthCalculator cellGrowthCalculator,
               ISurroundingCellCalculator surroundingCellCalculator,
               bool isHuman)
 {
     Name                       = name;
     Color                      = playerCellColor;
     PlayerNumber               = playerNumber;
     _cellGrowthCalculator      = cellGrowthCalculator;
     _surroundingCellCalculator = surroundingCellCalculator;
     IsHuman                    = isHuman;
     _growthScorecard           = new GrowthScorecard();
 }