diff --git a/frontend/src/app/feature/game/blackjack/blackjack.component.html b/frontend/src/app/feature/game/blackjack/blackjack.component.html index db4d698..dd62189 100644 --- a/frontend/src/app/feature/game/blackjack/blackjack.component.html +++ b/frontend/src/app/feature/game/blackjack/blackjack.component.html @@ -6,9 +6,9 @@ @@ -16,7 +16,7 @@ diff --git a/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts b/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts index 6b8cdce..11f9e90 100644 --- a/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts @@ -10,7 +10,7 @@ import { Card } from '../../models/card.model'; template: `

Croupier's Karten

-
+
- +
`, changeDetection: ChangeDetectionStrategy.OnPush, }) export class GameInfoComponent { - @Input() balance = 0; - @Input() currentBet = 0; - @Output() newGame = new EventEmitter(); + @Input() balance: number = 0; + @Input() currentBet: number = 0; + @Output() onNewGameClick = new EventEmitter(); } diff --git a/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts b/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts index 2dc50c0..c157968 100644 --- a/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts @@ -10,9 +10,9 @@ import { Card } from '../../models/card.model'; template: `

Deine Karten

-
+