@Override
 public int hashCode() {
   return name.ordinal() + (int) getX() - (int) getY();
 }