computeChildMaskForTile

Computes a bit mask indicating which of a tile's four children exist. If a child's bit is set, a tile is available for that child. If it is cleared, the tile is not available.

Return

The bit mask indicating child availability.

Parameters

level

The level of the parent tile.

x

The X coordinate of the parent tile.

y

The Y coordinate of the parent tile.

See also