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.
|
|
|
abstract class Player{
|
|
public id: string
|
|
public pseudo: string;
|
|
public profilePicture: string
|
|
|
|
|
|
constructor(id: string, pseudo: string, profilePicture: string){
|
|
this.id=id
|
|
this.pseudo=pseudo
|
|
this.profilePicture=profilePicture
|
|
}
|
|
|
|
abstract toJson(): any
|
|
}
|
|
|
|
export default Player |