public void drawGamePolygon(Graphics2D g, int offsetX, int offsetY) {
		// TODO Auto-generated method stub
		if(poly.size() > 1){ // draw a polygon if there is more than one point
			for(int i = 0; i < poly.size(); i++){
				if(i == 0){
					// do nothing
				}else{
					int x1 = (int) (position.x+offsetX+poly.get(i-1).x+getWidth()/2);
					int y1 = (int) (position.y+offsetY+poly.get(i-1).y+getHeight()/2);
					int x2 = (int) (position.x+offsetX+poly.get(i).x+getWidth()/2);
					int y2 = (int) (position.y+offsetY+poly.get(i).y+getHeight()/2);
					g.drawLine(x1, y1, x2, y2);
				}
				
				if(i == poly.size()-1){ // draw the closing line
					int x1 = (int) (position.x+offsetX+poly.get(i).x+getWidth()/2);
					int y1 = (int) (position.y+offsetY+poly.get(i).y+getHeight()/2);
					int x2 = (int) (position.x+offsetX+poly.get(0).x+getWidth()/2);
					int y2 = (int) (position.y+offsetY+poly.get(0).y+getHeight()/2);
					g.drawLine(x1, y1, x2, y2);
				}
			}
		}else{//draw a point otherwise
			
		}
		
		
	}