diff options
| author | Dream-Master <dream-master@gmx.net> | 2016-06-21 18:42:02 +0200 |
|---|---|---|
| committer | Dream-Master <dream-master@gmx.net> | 2016-06-21 18:42:02 +0200 |
| commit | b09b54435f9427332854558c42bd2c902825cbfe (patch) | |
| tree | 96a8143cafd99b28a194714e9846b8e974ce50f8 /src/main/java/gregtech/api/util/GT_PlayedSound.java | |
| parent | 6fe4d4a8d3226c02a65a70d7a8035a219cbd2c66 (diff) | |
| download | GT5-Unofficial-b09b54435f9427332854558c42bd2c902825cbfe.tar.gz GT5-Unofficial-b09b54435f9427332854558c42bd2c902825cbfe.tar.bz2 GT5-Unofficial-b09b54435f9427332854558c42bd2c902825cbfe.zip | |
remove all
Diffstat (limited to 'src/main/java/gregtech/api/util/GT_PlayedSound.java')
| -rw-r--r-- | src/main/java/gregtech/api/util/GT_PlayedSound.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/main/java/gregtech/api/util/GT_PlayedSound.java b/src/main/java/gregtech/api/util/GT_PlayedSound.java deleted file mode 100644 index 858f3b826e..0000000000 --- a/src/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 |
