LevelTests Start 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 Start()
Examples

[Test, CloseAfterFirstFrame]
public void Start()
{
    TileMap map = CreateSimple2X3TileMap();
    Assert.AreEqual(2, map.Width);
    Assert.AreEqual(3, map.Height);
}
[Test, CloseAfterFirstFrame]
public void Start2()
{
    TileMap map = CreateSimple2X3TileMap();
    Assert.Throws<TileMap.StartPointNotFound>(() => map.FindPath(LevelTileType.Red));
    Assert.DoesNotThrow(() => map.FindPath(LevelTileType.SpawnPoint));
}
See Also