public void keyPressed(KeyEvent e) {
        int Key = e.getKeyCode();
    
        if(Key==KeyEvent.VK_SPACE){
            MakeShip();
        }else if(Key==KeyEvent.VK_S){
            if(this.ship.size()>0){
                for(int x =0;x<ship.size();x++){
                    Enemy LittleShip = (Enemy) this.ship.get(x);
                    LittleShip.ShipWait();
                }
           }
                
        }else if(Key==KeyEvent.VK_D){
             if(this.ship.size()>0){
                Enemy LittleShip = (Enemy) this.ship.get(pos);
                  NotyOne(LittleShip);
                  CheckPosition();
          
          }
        }else if(Key==KeyEvent.VK_A){
              
              for(int x =0;x<ship.size();x++){
                  Enemy LittleShip = (Enemy) this.ship.get(x);
                  NotyAll(LittleShip);
              }
              
          }else if(Key==KeyEvent.VK_C){
              c= new Creditos();
              c.setVisible(true);
              
          }
 
 
    }