public Sound(PowerHourGame G) : base(G) { // sniped=G.Content.Load<SoundEffect>("Sounds/sniped"); bottle_1 = G.Content.Load<SoundEffect>("sounds/bottle_pop_2"); bottle_2 = G.Content.Load<SoundEffect>("sounds/bottle_pop_3"); can_1 = G.Content.Load<SoundEffect>("sounds/can-open-1"); can_2 = G.Content.Load<SoundEffect>("sounds/can-open-2"); liquid = G.Content.Load<SoundEffect>("sounds/pouring_liquid_2"); bubble = G.Content.Load<SoundEffect>("sounds/water-drop-1"); button = G.Content.Load<SoundEffect>("sounds/metal_button"); //minlong = G.Content.Load<Song>("sounds/long"); //MediaPlayer.Volume = 0.01f * OptionsMenuScreen.musicVolume; //MediaPlayer.IsRepeating = true; }
static void Main() { using (PowerHourGame game = new PowerHourGame()) { game.Run(); } }