ModernLifePatch/src-source/main/java/com/dairymoose/modernlife/blocks/gui/HPoint.java
2024-10-26 09:40:21 +08:00

32 lines
775 B
Java

package com.dairymoose.modernlife.blocks.gui;
import java.awt.Point;
/* loaded from: outputsrg.jar:com/dairymoose/modernlife/blocks/gui/HPoint.class */
public class HPoint extends Point {
private static final long serialVersionUID = 799338005435813486L;
public HPoint(int x, int y) {
super(x, y);
}
public int hashCode() {
int result = (31 * 1) + this.x;
return (31 * result) + this.y;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (getClass() != obj.getClass()) {
return false;
}
HPoint other = (HPoint) obj;
if (this.x != other.x || this.y != other.y) {
return false;
}
return true;
}
}