ClothCreepStateChangerTests CompareTwoCreepStates 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 CompareTwoCreepStates()
Examples

[Test, CloseAfterFirstFrame]
public void CompareTwoCreepStates()
{
    creep.State.Wet = true;
    var creepA = new Creep(CreepType.Plastic, Vector2D.Half);
    creepA.State.Melt = true;
    Assert.IsFalse(creep.State.Equals(creepA.State));
    creepA.State.Wet = true;
    creepA.State.Melt = false;
    Assert.IsTrue(creep.State.Equals(creepA.State));
}
See Also