You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
401 B
27 lines
401 B
|
|
export class Card {
|
|
|
|
constructor(id: string,name :string, img : string, imgGold : string,fav : boolean = true){
|
|
this.id=id
|
|
this.name=name
|
|
this.img = img
|
|
this.imgGold = imgGold
|
|
this.fav = fav
|
|
|
|
}
|
|
|
|
// ID //
|
|
public id;
|
|
|
|
// NAME //
|
|
public name;
|
|
|
|
//IMG//
|
|
public img;
|
|
|
|
//IMGGOLD//
|
|
public imgGold;
|
|
|
|
//FAV//
|
|
public fav;
|
|
} |