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

[Test, CloseAfterFirstFrame]
public void CheckForImpactTowerOnFrozenClothCreep()
{
    Randomizer.Use(new FixedRandom(new[] { 0f }));
    creep.State.Frozen = true;
    ClothCreepStateChanger.ChangeStatesIfClothCreep(TowerType.Impact, creep);
    Assert.IsTrue(creep.State.Frozen);
}
See Also