public void actionPerformed(ActionEvent e){
		
		ArrayList ms = c1.getMissiles();

        for (int i = 0; i < ms.size(); i++) {
            Missile m = (Missile) ms.get(i);
            if (m.isVisible()) 
                m.move();
            else ms.remove(i);
        }
        
        for (int i = 0; i < aliens.size(); i++) {
            Alien a = (Alien) aliens.get(i);
            if (a.isVisible()) 
                a.move();
            else aliens.remove(i);
        }
        
        if(aliens.size()==0 || inGame==false){
        	inGame = false;
        	c1.setVisible(false);
        	c1.getBombSound().stop();
        	backSound.stop();
        }
		
		c1.move();
		checkCollisions();
		repaint();
	}