Package org.highlife.api.methods.map
Class Tile
java.lang.Object
org.highlife.api.methods.map.Tile
- All Implemented Interfaces:
Locatable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubledistance()doubledoublebooleangetArea(int radius) intgetGridX()intgetGridY()getRandomized(int deviation) getTile()intgetX()intgetY()intgetZ()inthashCode()voidsetX(int x) voidsetY(int y) voidsetZ(int z) toString()translate(int x, int y) doublewalkingDistance(Tile tile) Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.highlife.api.wrappers.interactive.Locatable
canReach, canReach, getRegionId, tileDistance
-
Constructor Details
-
Tile
public Tile() -
Tile
public Tile(int x, int y) -
Tile
public Tile(int x, int y, int z)
-
-
Method Details
-
translate
-
translate
-
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
getGridX
public int getGridX() -
getGridY
public int getGridY() -
getZ
public int getZ() -
setZ
public void setZ(int z) -
getTileReference
- Specified by:
getTileReferencein interfaceLocatable
-
distance
-
clone
-
getTile
-
distance
-
walkingDistance
- Specified by:
walkingDistancein interfaceLocatable
-
getPolygon
-
distance
public double distance() -
hashCode
public int hashCode() -
equals
-
getRandomized
-
getRandomized
-
getArea
-
toString
-