예제 #1
0
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     font        = Content.Load <SpriteFont>("font");
     MenuScreen.LoadContent();
     LevelSelectScreen.LoadContent();
     CreditsScreen.LoadContent();
     LevelScreen.LoadContent();
     LevelEndScreen.LoadContent();
     ChangeScreen(MenuScreen);
 }