public RoleModelNative(INativeManager nativeManager, string id, int defaultStrength, int defaultWillpower, int defaultConstitution, int defaultSpeed, int defaultActionPointsIncome, string attackingSkillId, string[] skillIds) { this.Id = id; this.AttackingSkill = nativeManager.GetSkillNative(attackingSkillId); this.DefaultActionPointsIncome = defaultActionPointsIncome; this.DefaultConstitution = defaultConstitution; this.DefaultWillpower = defaultWillpower; this.DefaultStrength = defaultStrength; this.DefaultSpeed = defaultSpeed; SkillNative[] skills = new SkillNative[skillIds.Length]; for (int i = 0; i < skills.Length; i++) { skills[i] = nativeManager.GetSkillNative(skillIds[i]); } this.Skills = skills; }