PlasticCreepStateChangerTests CheckFireThenIceEffect 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 CheckFireThenIceEffect()
Examples

[Test, CloseAfterFirstFrame]
public void CheckFireThenIceEffect()
{
    PlasticCreepStateChanger.ChangeStatesIfPlasticCreep(TowerType.Fire, creep);
    Assert.IsTrue(creep.State.Burn);
    PlasticCreepStateChanger.ChangeStatesIfPlasticCreep(TowerType.Ice, creep);
    Assert.IsFalse(creep.State.Burn);
}
See Also