changed tilemap to entity