summaryrefslogtreecommitdiff
path: root/main/java/gregtech/api/util/GT_PlayedSound.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
commit0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch)
treeabe418ff5ec174e712fe8dedd434548a945b15a3 /main/java/gregtech/api/util/GT_PlayedSound.java
parent877312184c472d9845e5ef1008bc538f4634059f (diff)
fix missing source folder
Diffstat (limited to 'main/java/gregtech/api/util/GT_PlayedSound.java')
-rw-r--r--main/java/gregtech/api/util/GT_PlayedSound.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/main/java/gregtech/api/util/GT_PlayedSound.java b/main/java/gregtech/api/util/GT_PlayedSound.java
deleted file mode 100644
index fa98693..0000000
--- a/main/java/gregtech/api/util/GT_PlayedSound.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package gregtech.api.util;
-
-import static gregtech.api.enums.GT_Values.E;
-
-public class GT_PlayedSound {
- public final String mSoundName;
- public final int mX, mY, mZ;
-
- public GT_PlayedSound(String aSoundName, double aX, double aY, double aZ) {
- mSoundName = aSoundName==null?E:aSoundName;
- mX = (int)aX;
- mY = (int)aY;
- mZ = (int)aZ;
- }
-
- @Override
- public boolean equals(Object aObject) {
- if (aObject != null && aObject instanceof GT_PlayedSound) {
- return ((GT_PlayedSound)aObject).mX == mX && ((GT_PlayedSound)aObject).mY == mY && ((GT_PlayedSound)aObject).mZ == mZ && ((GT_PlayedSound)aObject).mSoundName.equals(mSoundName);
- }
- return false;
- }
-
- @Override
- public int hashCode() {
- return mX+mY+mZ+mSoundName.hashCode();
- }
-} \ No newline at end of file