Skip to content

Commit

Permalink
feat(models): adding player details to models
Browse files Browse the repository at this point in the history
  • Loading branch information
rallieon committed Apr 18, 2023
1 parent a660640 commit 8a3316f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/models/src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { Player } from './player';
export { Player, PlayerDetails } from './player';
export { Arcade } from './arcade';
export { Game } from './game';
export { Leader } from './leader';
Expand Down
7 changes: 7 additions & 0 deletions packages/models/src/models/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ export class Player {
this.id = id;
}
}

export class PlayerDetails {
creditAmount: number;
constructor() {
this.creditAmount = 0;
}
}

0 comments on commit 8a3316f

Please sign in to comment.