(client) feat:添加瓦片动态定义和资源动态加载

This commit is contained in:
m0_75251201
2025-07-17 10:37:55 +08:00
parent 41c20a498d
commit f4d22af674
12 changed files with 320 additions and 24 deletions

View File

@ -0,0 +1,20 @@
using System.Xml.Linq;
namespace Data
{
public class ImageDef : Define
{
public string name;
public string path;
public int wCount;
public int hCount;
public int pixelsPerUnit = 16;
public override bool Init(XElement xmlDef)
{
base.Init(xmlDef);
name = defName;
return false;
}
}
}