Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Tests: CreepyTowers.Tests.Stats.StatAdjustmentTests
2 unit tests call CreepyTowers.Stats.StatAdjustment.Attribute
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: StringRemarks
Examples
[Test] public void Constructor() { var effect = new StatAdjustment("Hp", "Armor", -50); Assert.AreEqual("Hp", effect.Attribute); Assert.AreEqual("Armor", effect.Resist); Assert.AreEqual(-50.0f, effect.Adjustment); }
[Test] public void ConstructedFromXml() { var effect = new StatAdjustment("TestAdjustment"); Assert.AreEqual("Hp", effect.Attribute); Assert.AreEqual("", effect.Resist); Assert.AreEqual(-100.0f, effect.Adjustment); }
See Also