gridKey

public static long gridKey(int gridX, int gridZ)

Packs grid coordinates into the key used by the play-area index.