Island hashcode feature added.

This commit is contained in:
Harrison Deng 2020-05-05 16:57:10 -05:00
parent 778b334ceb
commit d1cae3bf7f

View File

@ -200,4 +200,8 @@ public class IslandWorldMap {
public Point2 findIslandOrigin(int worldX, int worldZ) {
return findIslandOrigin(worldX, worldZ, null);
}
public int calculateIslandHash(int worldX, int worldZ) {
return findIslandOrigin(worldX, worldZ).hashCode();
}
}