Looping sounds und hintergrund musik für slots
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user