WaveGeneratorTests WaveCreateOnlyAfterWaitTime 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 WaveCreateOnlyAfterWaitTime()
Examples

[Test, CloseAfterFirstFrame]
public void WaveCreateOnlyAfterWaitTime()
{
    new WaveGenerator(waveList, Vector3D.One);
    Assert.AreEqual(0, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count);
    AdvanceTimeAndUpdateEntities(1.0f);
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count);
}
See Also