This makes it necessary to rename TileType() to GetTileType() because a type and a function may not share the same name.