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.
Cryptid/cryptide_project/src/model/Player.ts

16 lines
217 B

abstract class Player{
public id: string
public name: string;
constructor(id: string, name: string){
this.id=id
this.name=name
}
abstract toJson(): any
}
export default Player