public void drawGrid(Graphics g, int size, Color color){
		g.setColor(color);
		for(int x = 0; x < width ; x += size){
			g.drawLine(x * scale, 0, x * scale, height * scale);
		}
		for(int y = 0; y < width ; y += size){
			g.drawLine(0, y * scale, width * scale, y * scale);
		}
	}