AgentTests AdjustStatUpwards Method Delta Engine Documentation

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

public void AdjustStatUpwards()
Examples

[Test, CloseAfterFirstFrame]
public void AdjustStatUpwards()
{
    creep.AdjustStat(new StatAdjustment("Hp", "", -50.0f));
    creep.AdjustStat(new StatAdjustment("Hp", "", 20.0f));
    Assert.AreEqual(70.0f, creep.GetStatValue("Hp"));
}
See Also