public Explosao(GameCore mygame, Vector3 position, float scale,Screen screen)
     : base(mygame, mygame.Content.Load<Texture2D>("explosao2"), 10, position, scale)
 {
     this.screen = screen;
     sprite = 1;
     mygame.sons.playSound(0);
 }
 public void setScreen(Screen nextScreen)
 {
     if (actualScreen != null) {
         actualScreen.unloadComponents();
     }
     actualScreen = nextScreen;
     actualScreen.loadComponents();
 }
 public Metralhadora(GameCore game, Texture2D imgInimigo, int hp, float velocidadeInimigo, int largura, Screen screen, int score)
     : base(game, imgInimigo, hp, velocidadeInimigo, largura, score)
 {
     life = mygame.Content.Load<Texture2D>("life");
     sprite = new Sprite(mygame, imgInimigo, 8, new Vector3(), 0);
     positionInimigo = new Vector2(49, 20);
     tiro = mygame.Content.Load<Texture2D>("TiroPlayer");
     this.screen = screen;
     this.score = score;
 }