private void resetObjects()
		{
			for (int i = 0; i < grid.length; i++)
			{
				for (int j = 0; j < grid[i].length; j++)
				{
					if (grid[i][j].getObject() != null)
					{
						grid[i][j].getObject().setPainted(false);
					}
				}
			}
		}