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"); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (SuperXbloxGame game = new SuperXbloxGame()) { game.Run(); } }
/// <summary> /// Constructs a new screen manager component. /// </summary> /// public ScreenManager(SuperXbloxGame game) : base(game) { //Game = game; }
//: base(game) public Reticule(Game game) { sGame = (SuperXbloxGame)game; }