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

[Test, CloseAfterFirstFrame]
public void CheckForWaterTowerOnDryClothCreep()
{
    ClothCreepStateChanger.ChangeStatesIfClothCreep(TowerType.Water, creep);
    Assert.IsFalse(creep.State.Frozen);
    Assert.IsFalse(creep.State.Burst);
    Assert.IsFalse(creep.State.Burn);
    Assert.IsTrue(creep.State.Wet);
    Assert.AreEqual(0, creep.State.WetTimer);
    Assert.AreEqual(Vulnerability.Resistant,
        creep.State.GetVulnerability(TowerType.Fire));
    Assert.AreEqual(Vulnerability.HardBoiled,
        creep.State.GetVulnerability(TowerType.Impact));
    Assert.AreEqual(Vulnerability.Weak,
        creep.State.GetVulnerability(TowerType.Ice));
}
See Also