コード例 #1
0
    public virtual void Setup(HavenResource templateArg)
    {
        resourceCountCurrent = templateArg.resourceCountCurrent;
        resourceCountMax     = templateArg.resourceCountMax;

        resourcePercentageIncreaseBase      = templateArg.resourcePercentageIncreaseBase;
        resourcePercentageIncreaseBaseRange = templateArg.resourcePercentageIncreaseBaseRange;

        resourcePercentageDecreaseBase      = templateArg.resourcePercentageDecreaseBase;
        resourcePercentageDecreaseBaseRange = templateArg.resourcePercentageDecreaseBaseRange;
    }
コード例 #2
0
 public HavenResource(HavenResource templateArg)
 {
     Setup(templateArg);
 }