Looping sounds und hintergrund musik für slots

This commit is contained in:
NBTEMP\bib
2026-09-12 17:08:21 +02:00
parent 5069e43993
commit da0b8189d7
4 changed files with 30 additions and 28 deletions
+9 -3
View File
@@ -28,6 +28,7 @@ namespace Casino
Database db = new Database();
private List<Byte[]> AlleBilder;
ObservableCollection<User> users = new ObservableCollection<User>();
Audioplayer audio = new Audioplayer();
private int[,] currentSlot = new int[3, 6];
@@ -62,8 +63,7 @@ namespace Casino
};
Konto.Text = users[MainWindow.currentUser].Geld.ToString();
audio.PlayLoopingSound(db.GetSound(2));
}
@@ -140,6 +140,7 @@ namespace Casino
private void Hauptmenue(object sender, RoutedEventArgs e)
{
audio.Stop();
Close();
}
@@ -311,6 +312,11 @@ namespace Casino
}
}
void PlayWinSound()
{
}
}
}