Busfahrer update
This commit is contained in:
@@ -74,7 +74,6 @@
|
||||
<!-- Cash Out / Start / Next Buttons -->
|
||||
<StackPanel Grid.Row="3" Grid.Column="3" Grid.ColumnSpan="7" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,20">
|
||||
<Button x:Name="BtnCashOut" Content="Cash Out (0.00)" Width="180" Height="50" Margin="10" Background="#27AE60" Foreground="White" FontSize="16" FontWeight="Bold" Click="BtnCashOut_Click" Visibility="Collapsed"/>
|
||||
<Button x:Name="BtnNextPyramid" Content="Reveal Next Card" Width="200" Height="50" Margin="10" Background="#F39C12" Foreground="White" FontSize="16" FontWeight="Bold" Click="BtnNextPyramid_Click" Visibility="Collapsed"/>
|
||||
<Button x:Name="BtnStart" Content="Start New Game" Width="180" Height="50" Margin="10" Background="#1ABC9C" Foreground="White" FontSize="16" FontWeight="Bold" Click="BtnStart_Click"/>
|
||||
</StackPanel>
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ namespace Casino
|
||||
BtnNextPyramid.Visibility = Visibility.Collapsed;
|
||||
|
||||
// Zeige den Auszahlungs-Button ab Runde 1 (nach dem ersten Gewinn) an
|
||||
BtnCashOut.Visibility = (currentPhase > 0 && currentPhase < 4) ? Visibility.Visible : Visibility.Collapsed;
|
||||
BtnCashOut.Visibility = (currentPhase > 1 && currentPhase < 4) ? Visibility.Visible : Visibility.Collapsed;
|
||||
|
||||
switch (currentPhase)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user