Removed terrainIndex from GridOccupant, as it is no longer used.