implemented atlas loading

This commit is contained in:
2025-01-15 19:29:34 +01:00
committed by andreas
parent 6201369a0a
commit 060087c527
12 changed files with 130 additions and 132 deletions
+13
View File
@@ -0,0 +1,13 @@
package assets.tilesets;
class Tileset{
public static var tilesetMap:Map<String, Tileset> = [];
public var texName:String;
public var texAtlas:TextureAtlas;
public function new(name:String, atlas:TextureAtlas){
texName = name;
texAtlas = atlas;
tilesetMap[name] = this;
}
}