public override void Apply(Strenght strenght) { _strenght = strenght; _powerIntegerSetter = new IntegerSetter(_power.GetValue(X)); _powerIntegerSetter.Initialize(ChangeTracker); _strenght.AddPowerModifier(_powerIntegerSetter); _toughnessIntegerSetter = new IntegerSetter(_tougness.GetValue(X)); _toughnessIntegerSetter.Initialize(ChangeTracker); _strenght.AddToughnessModifier(_toughnessIntegerSetter); }
public override void Apply(Strenght strenght) { _strenght = strenght; _strenght.SwitchPowerAndToughness(); }
public override void Apply(Strenght strenght) { _strenght = strenght; _strenght.SwitchPowerAndToughness(); }
public override void Apply(Strenght strenght) { _strenght = strenght; _strenght.AddPowerModifier(_strenghtModifier); _strenght.AddToughnessModifier(_strenghtModifier); }
public override void Apply(Strenght strenght) { _strenght = strenght; _strenght.AddPowerModifier(_integerIncrement); _strenght.AddToughnessModifier(_integerIncrement); }
public override void Apply(Strenght strenght) { _strenght = strenght; _strenght.AddPowerModifier(_integerSetter); _strenght.AddToughnessModifier(_integerSetter); }
public void setStrenght(int _strenght) { Strenght = Strenght + _strenght; strenght.text = Strenght.ToString(); }