IronCreepStateChangerTests CheckForFireTowerEffect 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 CheckForFireTowerEffect()
Examples

[Test, CloseAfterFirstFrame]
public void CheckForFireTowerEffect()
{
    IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Fire, creep);
    Assert.IsTrue(creep.State.Melt);
    Assert.AreEqual(Vulnerability.Normal,
        creep.State.VulnerabilityState[(int)TowerType.Slice]);
    Assert.AreEqual(Vulnerability.Weak,
        creep.State.VulnerabilityState[(int)TowerType.Impact]);
}
See Also