public int hashCode() {
   return (tile != null ? tile.hashCode() : 0);
 }