Exemplo n.º 1
0
		protected override void LoadContent ()
		{			
			BackgroundScreen = new BackgroundScreen (Game, this);
			AddScreen (BackgroundScreen);
			HandScreen = new HandScreen (Game, this);
			AddScreen (HandScreen);
			HudScreen = new HUDScreen (Game, this);
			AddScreen (HudScreen);
			ActionBarScreen = new ActionBarScreen (Game, this);
			AddScreen (ActionBarScreen);		
			LeaderboardScreen = new LeaderboardScreen (Game, this);
			AddScreen (LeaderboardScreen);
			SmallFont = LoadSpriteFont (SMALL_FONT_XNB);
			RockSoundEffect = LoadSoundFX (ROCK_SOUNDFX_XNB).CreateInstance ();
			RockSoundEffect.Volume = 1.3f;
			PaperSoundEffect = LoadSoundFX (PAPER_SOUNDFX_XNB).CreateInstance ();
			PaperSoundEffect.Volume = 3f;
			ScissorsSoundEffect = LoadSoundFX (SCISSORS_SOUNDFX_XNB).CreateInstance ();
			ScissorsSoundEffect.Volume = 0.3f;
			base.LoadContent ();
		}
 protected override void LoadContent()
 {
     BackgroundScreen = new BackgroundScreen (Game, this);
     AddScreen (BackgroundScreen);
     HandScreen = new HandScreen (Game, this);
     AddScreen (HandScreen);
     HudScreen = new HUDScreen (Game, this);
     AddScreen (HudScreen);
     ActionBarScreen = new ActionBarScreen (Game, this);
     AddScreen (ActionBarScreen);
     base.LoadContent ();
 }