Exemple #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);
 }
Exemple #2
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);
 }