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