Namespace: DeltaEngine.GameLogic
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.GameLogic.Tests.LevelTests
1 unit tests call DeltaEngine.GameLogic.Level.MapData
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: LevelTileTypeRemarks
Examples
[Test, CloseAfterFirstFrame] public void SaveAndLoadMapData() { TileMap map = CreateSimple2X3TileMap(); string mapData = map.Save(); string newLine = Environment.NewLine; string expectedData = "E." + newLine + "X." + newLine + "S." + newLine; Assert.AreEqual(expectedData, mapData); var loadedMap = new TileMap(mapData); Assert.AreEqual(expectedData, loadedMap.Save()); }
See Also