public class WellAndTileIdentifier
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Constructor and Description |
---|
WellAndTileIdentifier(int wellY,
int wellX,
int tileY,
int tileX)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getTileX()
Returns the x-position of the tile.
|
int |
getTileY()
Returns the y-position of the tile.
|
int |
getWellX()
Returns the x-position of the well.
|
int |
getWellY()
Returns the y-position of the well.
|
int |
hashCode() |
public WellAndTileIdentifier(int wellY, int wellX, int tileY, int tileX)
wellY
- y-position of the well, starting at 0.wellX
- x-position of the well, starting at 0.tileY
- y-position of the tile, starting at 0.tileX
- x-position of the tile, starting at 0.public int getWellX()
public int getWellY()
public int getTileX()
public int getTileY()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException