add player
This commit is contained in:
parent
a65ed8fe16
commit
20885474db
9
src/core/Player.ts
Normal file
9
src/core/Player.ts
Normal file
@ -0,0 +1,9 @@
|
||||
export class Player {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
constructor(id: string, name: string) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user