BuffTests IsExpiredWhenElapsedIsAboveDuration 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 IsExpiredWhenElapsedIsAboveDuration()
Examples

[Test]
public void IsExpiredWhenElapsedIsAboveDuration()
{
    var buff = new Buff(new Stat(0.0f), new BuffEffect("TestHpBuff")) { Elapsed = 10 };
    Assert.IsTrue(buff.IsExpired);
}
See Also