예제 #1
0
 private void CreateActionScene()
 {
     explosions              = new ExplosionManager(this);
     actionElementsTexture   = Content.Load <Texture2D>("rockrainenhanced.png");
     actionBackgroundTexture = Content.Load <Texture2D>("spacebackground.jpg");
     scoreFont   = Content.Load <SpriteFont>("score");
     actionScene = new ActionScene(this, actionElementsTexture, actionBackgroundTexture, scoreFont, explosions);
     Components.Add(actionScene);
 }
예제 #2
0
파일: Game1.cs 프로젝트: QHebert/monogame
 private void CreateActionScene()
 {
     explosions = new ExplosionManager(this);
     actionElementsTexture = Content.Load<Texture2D>("rockrainenhanced.png");
     actionBackgroundTexture = Content.Load<Texture2D>("spacebackground.jpg");
     scoreFont = Content.Load<SpriteFont>("score");
     actionScene = new ActionScene(this, actionElementsTexture,actionBackgroundTexture, scoreFont, explosions);
     Components.Add(actionScene);
 }