mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 05:27:13 +08:00
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;
|
|
}
|
|
}
|
|
} |