示例#1
0
 public PlayerSkills(string name, StatUsed statUsed, SkillType skillType, Resource resource, float effect, string Descript, int skillPointCost, float resourceCost, string actionDescript)
 {
     namePRI              = name;
     statUsedPRI          = statUsed;
     effectPRI            = effect;
     descriptPRi          = description;
     skillTypePRI         = skillType;
     skillPointCostPRI    = skillPointCost;
     resourceTypePRI      = resource;
     resourceCostPRI      = resourceCost;
     actionDescriptionPRI = actionDescript;
 }
示例#2
0
 public PlayerSkills()
 {
     /*namePRI = name;
      * statUsedPRI = statUsed;
      * skillTypePRI = skillType;
      * effectPRI = skillEffect;
      * descriptPRi = description;*/
     name              = namePRI;
     statUsed          = statUsedPRI;
     skillType         = skillTypePRI;
     skillEffect       = effectPRI;
     description       = descriptPRi;
     skillPointCost    = skillPointCostPRI;
     actionDescription = actionDescriptionPRI;
     resourceCost      = resourceCostPRI;
     resourceType      = resourceTypePRI;
 }