blades-engine parse terrain and floor height

This commit is contained in:
2022-06-10 23:07:39 +00:00
parent b6540e8d18
commit 3f773a83ee
5 changed files with 62 additions and 52 deletions

View File

@@ -6,10 +6,10 @@ class TileMap {
// TODO might need encapsulation
public var floorCodes:TileArray<Int>;
public var floorHeights:TileArray<Int>;
private var terrainCodes:TileArray<Int>;
public var terrainCodes:TileArray<Int>;
private var width = 0;
private var height = 0;
public var width = 0;
public var height = 0;
public var name = "";