private boolean collision(Tile[][] piece)
	{
		if (piece == null)
			return false;
		Tile origin = piece[0][0];
		for (int i = 0; (i + origin.getX()) < grid.length && i < piece.length; i++)
		{
			for (int j = 0; (j + origin.getY()) < grid[i].length && j < piece[i].length; j++)
			{
				if ((grid[i + origin.getX()][j + origin.getY()] != null))
				{
					if (grid[i + origin.getX()][j + origin.getY()].getActive() && piece[i][j].getActive())
					{
					return true;
					}
				}
			}
		}
			
			
		return false;
	}