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

[Test, CloseAfterFirstFrame]
public void TestLevelTileChange()
{
    var level = new MockLevel(new Size(1));
    level.TileChanged += position => CheckTileHasChanged(level, position);
    level.SetTile(Vector2D.Zero, LevelTileType.Blocked);
}
See Also