Exemplo n.º 1
0
        public Sound(SuperXbloxGame G)
            : base(G)
        {
            // G.Content.RootDirectory = "Content";
            //mTechno = G.Content.Load<Song>("Songs/tetris");
            RaveParty = G.Content.Load<Song>("Songs/RaveParty");
            TribalTrain = G.Content.Load<Song>("Songs/TribalTrain");
            TechnoRampage = G.Content.Load<Song>("Songs/TechnoRampage!!!");
            //mRock = G.Content.Load<Song>("Songs/tetris2");
            TheFunkyBandit = G.Content.Load<Song>("Songs/TheFunkyBandit");
            mIntro = G.Content.Load<Song>("Songs/RaveParty");
               // sniped=G.Content.Load<SoundEffect>("Sounds/sniped");
            //kaboom = G.Content.Load<SoundEffect>("Sounds/kaboom");
            //scratch = G.Content.Load<SoundEffect>("Sounds/scratch");
            //nextlevel = G.Content.Load<SoundEffect>("Sounds/nextlevel");
            //intro = G.Content.Load<SoundEffect>("Sounds/intro");
            //start = G.Content.Load<SoundEffect>("Sounds/start");
            //stop = G.Content.Load<SoundEffect>("Sounds/stop");
            //rotategrid = G.Content.Load<SoundEffect>("Sounds/rotategrid");
            //reward = G.Content.Load<SoundEffect>("Sounds/reward");
            //move = G.Content.Load<SoundEffect>("Sounds/move");
            //select = G.Content.Load<SoundEffect>("Sounds/select");

            //reload = G.Content.Load<SoundEffect>("Sounds/reload");
            MediaPlayer.Volume = 0.01f * OptionsMenuScreen.musicVolume;
            MediaPlayer.IsRepeating = true;
            //laser = G.Content.Load<SoundEffect>("Sounds/laser");
        }
Exemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (SuperXbloxGame game = new SuperXbloxGame())
     {
         game.Run();
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs a new screen manager component.
 /// </summary>
 ///
 public ScreenManager(SuperXbloxGame game)
     : base(game)
 {
     //Game = game;
 }
Exemplo n.º 4
0
 //: base(game)
 public Reticule(Game game)
 {
     sGame = (SuperXbloxGame)game;
 }