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

[Test, CloseAfterFirstFrame]
public void CheckWaterThenFireEffect()
{
    WoodCreepStateChanger.ChangeStatesIfWoodCreep(TowerType.Water, creep);
    Assert.IsTrue(creep.State.Wet);
    WoodCreepStateChanger.ChangeStatesIfWoodCreep(TowerType.Fire, creep);
    Assert.IsFalse(creep.State.Wet);
}
See Also