(client) fix:修复定义链接不正确赋值的问题
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user