CreepStateTests TestMeltState Method Delta Engine Documentation

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

public void TestMeltState()
Examples

[Test]
public void TestMeltState()
{
    var creep = new Creep(CreepType.Cloth, Vector2D.Zero);
    var state = new CreepState();
    state.Melt = true;
    state.UpdateStateAndTimers(creep);
    Assert.IsTrue(state.Melt);
}
See Also