Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
20 lines
395 B
C#
20 lines
395 B
C#
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;
|
|
}
|
|
}
|
|
} |