WoodCreepStateChangerTests CheckWaterThenIceThenImpactEffect 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 CheckWaterThenIceThenImpactEffect()
Examples

[Test, CloseAfterFirstFrame]
public void CheckWaterThenIceThenImpactEffect()
{
    WoodCreepStateChanger.ChangeStatesIfWoodCreep(TowerType.Water, creep);
    Assert.IsTrue(creep.State.Wet);
    WoodCreepStateChanger.ChangeStatesIfWoodCreep(TowerType.Ice, creep);
    Assert.IsTrue(creep.State.Frozen);
    WoodCreepStateChanger.ChangeStatesIfWoodCreep(TowerType.Impact, creep);
}
See Also