public void SetData(EDecoType type, int id, string name, int price) { this.type = type; this.id = id; this.name = name; this.price = price; }
public string GetResourcePath(EDecoType type) { return(string.Format("{0}/{1}", ResourcePath.decoObject, name)); }
public List <XMLDeco> GetDecos(EDecoType _type) { return(decos.FindAll(i => i.type == _type)); }