public void paint(Graphics graphics)
	{
		//System.out.println("painting...");
		for(int a = 0; a < Values.maxX; a++)
		{
			for(int b = 0; b < Values.maxY; b++)
			{
				//System.out.println(a + "," + b);
				int x = grid[a][b].getxCoord();
				int y = grid[a][b].getyCoord();
				int width = grid[a][b].getWidth();
				int height = grid[a][b].getHeight();
				
				//System.out.println(x + "," + y + "\t" + width + "," + height);	
				
				graphics.drawRect(x, y, width, height);
				switch(grid[a][b].getElevation())
				{
					case -10:
						graphics.setColor(new Color(000, 100, 000));
						break;
					case 0:
						graphics.setColor(new Color(000, 120, 000));
						break;
					case 10:
						graphics.setColor(new Color(000, 140, 000));
					case 20:
						graphics.setColor(new Color(000, 160, 000));
				}
				graphics.fillRect(x, y, width + 1, height + 1);
			}
		}
	}