コード例 #1
0
 public AbnormalStateResistance(AbnormalStateResistance other)
 {
     other.Initialize();
     foreach (var x in other.Resistances)
     {
         Resistances.Add(x.Key, x.Value);
     }
 }
コード例 #2
0
 public CharacterStatus(int hitPoint, int attack, int defense, int evasion, int critical, AbnormalStateResistance abnormalStateResistance)
 {
     this.hitPoint = new IntReactiveProperty(hitPoint);
     this.attack   = new IntReactiveProperty(attack);
     this.defense  = new IntReactiveProperty(defense);
     this.evasion  = new IntReactiveProperty(evasion);
     this.critical = new IntReactiveProperty(critical);
     this.abnormalStateResistance = abnormalStateResistance;
 }