示例#1
0
文件: Carta.cs 项目: fwilliams96/TFG
 public Carta(string idAsset, CartaBase ca)
 {
     // set the CardAsset reference
     this.idAsset    = idAsset;
     this.assetCarta = ca;
     // get unique int ID
     idCarta  = IDFactory.GetMenuUniqueID();
     progreso = new Progreso();
 }
示例#2
0
 public Item(string rutaImagen, int cantidad)
 {
     idItem          = IDFactory.GetMenuUniqueID();
     this.rutaImagen = rutaImagen;
     this.cantidad   = cantidad;
 }