# vim: set fileencoding=utf-8
from typing import Optional

from bemani.backend.iidx.base import IIDXBase
from bemani.backend.iidx.heroicverse import IIDXHeroicVerse
from bemani.common import VersionConstants


class IIDXBistrover(IIDXBase):

    name: str = 'Beatmania IIDX BISTROVER'
    version: int = VersionConstants.IIDX_BISTROVER

    requires_extended_regions: bool = True

    def previous_version(self) -> Optional[IIDXBase]:
        return IIDXHeroicVerse(self.data, self.config, self.model)
