refactor(blackjack): rename event emitters for clarity
All checks were successful
All checks were successful
This commit is contained in:
parent
5e5fe603f9
commit
03ce527087
3 changed files with 14 additions and 16 deletions
|
@ -6,9 +6,9 @@
|
|||
<app-dealer-hand [cards]="dealerCards"></app-dealer-hand>
|
||||
<app-player-hand [cards]="playerCards"></app-player-hand>
|
||||
<app-game-controls
|
||||
(onHit)="onHit()"
|
||||
(onStand)="onStand()"
|
||||
(onLeave)="leaveGame()"
|
||||
(hit)="onHit()"
|
||||
(stand)="onStand()"
|
||||
(leave)="leaveGame()"
|
||||
></app-game-controls>
|
||||
</div>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
<app-game-info
|
||||
[balance]="balance()"
|
||||
[currentBet]="currentBet"
|
||||
(onNewGameClick)="onNewGame()"
|
||||
(newGame)="onNewGame()"
|
||||
></app-game-info>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue