StatTests RemoveBuff 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 RemoveBuff()
Examples

[Test]
public void RemoveBuff()
{
    stat.ApplyBuff(new BuffEffect("TestHpBuff"));
    stat.RemoveBuff(new BuffEffect("TestHpBuff"));
    Assert.AreEqual(100.0f, stat.Value);
    Assert.AreEqual(100.0f, stat.MaxValue);
}
See Also