@Override
	public void actionPerformed(ActionEvent e) {
	        if (e.getSource() == configButton || e.getSource() == okButton) {
	            // hides the config dialog
	            parent.configAction.tap();
	        }
	        
	        if(e.getSource() == buildTurretButton){
	        	addTurret();
	        }
	        
	        if(e.getSource() == sndPlayerButton){
	        	/* gonna change this soon
	        	Animation[] animation = new Animation[1];
	        	Animation a = parent.resourceManager.createPlanetAnim((Image)parent.resourceManager.planetImages.get(0));
	    		animation[0] = (Animation) a;
	    		
	            AIShip player2 = new AIShip(parent.resourceManager, animation);
	            player2.setHitpoints(500);
	            player2.setX(parent.getMap().getPlayer().getPosition().x+100);
	            player2.setY(parent.getMap().getPlayer().getPosition().y+100);
	            parent.getMap().getAIShips().add(player2);
	        	//parent.getMap().setPlayer2(player2);
	        	 * 
	        	 */
	        }
	        
	        parent.screen.getFullScreenWindow().requestFocus();
		
	}