<?php

namespace App\Http\Controllers\Overlays;

use App\Http\Controllers\Controller;
use App\Support\RigData;

class LoadingController extends Controller
{
    public function show(RigData $rig)
    {
        return view('overlays.loading', [
            'manifest'   => $rig->loading(),
            'telemetry'  => $rig->telemetry(),
            'trackCount' => $rig->playlistCount(),
        ]);
    }
}
