private void drawLasers(Graphics2D g, TileMap map, int offsetX, int offsetY){
    	 // draw lasers
        Iterator l = map.getLasers();
        while(l.hasNext()){
        	Laser laser = (Laser)l.next();
        	Line2D line = laser.getLine();
        	
        	int x1 = (int)Math.round(line.getX1())+offsetX;
        	int y1 = (int)Math.round(line.getY1())+offsetY;
        	int x2 = (int) Math.round(line.getX2())+offsetX;
        	int y2 = (int) Math.round(line.getY2())+offsetY;
        	if(laser.parent instanceof Turret){
        		Turret turret = (Turret)laser.parent;
        		Sprite target = (Sprite) turret.getTarget();
        		if(target instanceof Ship){
        			Ship s = (Ship)target;
        			x2 = (int)Math.round(s.getX()-s.getWidth()/2)+offsetX;
        	        y2 = (int)Math.round(s.getY()-s.getHeight()/2)+offsetY;
        		}
        	}
        	//System.out.println("width: " + screenWidth + " height: "+ screenHeight);
        	Color origColor = g.getColor();
        	g.setColor(laser.color);
        	Stroke stroke = g.getStroke();
        	g.setStroke(new BasicStroke((float) laser.width));
        	g.drawLine(x1,  y1,  x2,  y2);
        	g.setStroke(stroke);
        	g.setColor(origColor);
        	
        }
    }