void TileMap::UpdateDoors() { for (size_t i = 0; i < doors.size(); i++) { Door* door = doors[i]; door->SetNewOverlay(overlays[0]); } }