(client) fix:修复定义链接不正确赋值的问题

This commit is contained in:
m0_75251201
2025-07-16 15:57:13 +08:00
parent ffeb65ba6b
commit 41c20a498d
35 changed files with 85 additions and 63 deletions

View File

@ -8,7 +8,7 @@ namespace Data
{
public class TileDef : Define
{
public string texturePath = "";
public ImageDef texture;
public string name = "";
public override bool Init(XElement xmlDef)
@ -45,6 +45,12 @@ namespace Data
return true;
}
}
public class ImageDef : Define
{
public string path;
public int wCount;
public int hCount;
}
}