LevelTests TestAddWave Method Delta Engine Documentation

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

public void TestAddWave()
Examples

[Test, CloseAfterFirstFrame]
public void TestAddWave()
{
    var level = new MockLevel(new Size(3));
    Assert.AreEqual(0, level.Waves.Count);
    level.AddWave(new Wave(0.0f, 0.0f, ""));
    Assert.AreEqual(1, level.Waves.Count);
}
See Also