TowerTargetFinderTests InAbsenceOfCreepsTheTowerDoesNotFire Method Delta Engine Documentation

Namespace: CreepyTowers.Tests
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void InAbsenceOfCreepsTheTowerDoesNotFire()
Examples

[Test, CloseAfterFirstFrame]
public void InAbsenceOfCreepsTheTowerDoesNotFire()
{
    var tower = new Tower(TowerType.Fire, Vector2D.Zero);
    AdvanceTimeTillTowerAttacks(tower);
    Assert.IsFalse(tower.IsOnCooldown);
}
See Also