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

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