parent
f507c9061f
commit
c28e60afd2
@ -0,0 +1,35 @@
|
|||||||
|
export class Game{
|
||||||
|
private Name:String;
|
||||||
|
private ImageSource:String;
|
||||||
|
private GameSource:String;
|
||||||
|
|
||||||
|
constructor(name:String, imageSource:String, gameSource:String){
|
||||||
|
this.Name=name;
|
||||||
|
this.ImageSource=imageSource
|
||||||
|
this.GameSource=gameSource;
|
||||||
|
}
|
||||||
|
|
||||||
|
getName(){
|
||||||
|
return this.Name;
|
||||||
|
}
|
||||||
|
|
||||||
|
setName(name:String){
|
||||||
|
this.Name=name;
|
||||||
|
}
|
||||||
|
|
||||||
|
getImageSource(imageSource:String){
|
||||||
|
return this.ImageSource;
|
||||||
|
}
|
||||||
|
|
||||||
|
setImageSource(imageSource:String){
|
||||||
|
this.ImageSource=imageSource;
|
||||||
|
}
|
||||||
|
|
||||||
|
getGameSource(){
|
||||||
|
return this.GameSource;
|
||||||
|
}
|
||||||
|
|
||||||
|
setGameSource(gameSource:String){
|
||||||
|
this.GameSource=gameSource;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue