BuffEffectTests SettingsConstructor Method Delta Engine Documentation

Namespace: CreepyTowers.Tests.Stats
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void SettingsConstructor()
Examples

[Test]
public void SettingsConstructor()
{
    var goldBuff = new BuffEffect("TestGoldBuff");
    Assert.AreEqual("Gold", goldBuff.Attribute);
    Assert.AreEqual(2.0f, goldBuff.Multiplier);
    Assert.AreEqual(-3.0f, goldBuff.Addition);
    Assert.AreEqual(5.0f, goldBuff.Duration);
}
See Also