Stat RemoveBuff Method Delta Engine Documentation

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

public void RemoveBuff(
	BuffEffect effect
)
Remarks

Tests: CreepyTowers.Tests.Stats.StatTests
Examples

1 unit tests call CreepyTowers.Stats.Stat.RemoveBuff(CreepyTowers.Stats.BuffEffect)
[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