示例#1
0
文件: Stage.cs 项目: Danil20-8/FlyOn
 public ResourceValue(int amount)
 {
     this.source   = ResourceValueSource.Const;
     this.amount   = Math.Abs(amount);
     this.positive = amount >= 0;
 }
示例#2
0
文件: Stage.cs 项目: Danil20-8/FlyOn
 public ResourceValue(bool positive, ResourceValueSource source, int amount = 0)
 {
     this.source   = source;
     this.amount   = amount;
     this.positive = positive;
 }