<?php

/** @noinspection PhpDocSignatureIsNotCompleteInspection */

namespace DefStudio\GameEngine\Actions\Missions\Extractor\Contracts;

use Illuminate\Support\Collection;
use DefStudio\GameEngine\Models\Run;
use DefStudio\GameEngine\Models\Task;
use DefStudio\GameEngine\Models\Mission;

interface TaskExtractor
{
    /**
     * @return Collection<int, Task>
     */
    public function extract(Run $run, Mission $mission): Collection;
}
