2019-12-08 22:43:49 +01:00
|
|
|
# vim: set fileencoding=utf-8
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from bemani.backend.jubeat.base import JubeatBase
|
|
|
|
from bemani.common import VersionConstants
|
|
|
|
|
|
|
|
|
|
|
|
class Jubeat(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat'
|
|
|
|
version: int = VersionConstants.JUBEAT
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
class JubeatRipples(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Ripples'
|
|
|
|
version: int = VersionConstants.JUBEAT_RIPPLES
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return Jubeat(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class JubeatRipplesAppend(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Ripples Append'
|
|
|
|
version: int = VersionConstants.JUBEAT_RIPPLES_APPEND
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return JubeatRipples(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class JubeatKnit(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Knit'
|
|
|
|
version: int = VersionConstants.JUBEAT_KNIT
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return JubeatRipplesAppend(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class JubeatKnitAppend(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Knit Append'
|
|
|
|
version: int = VersionConstants.JUBEAT_KNIT_APPEND
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return JubeatKnit(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class JubeatCopious(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Copious'
|
|
|
|
version: int = VersionConstants.JUBEAT_COPIOUS
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return JubeatKnitAppend(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class JubeatCopiousAppend(JubeatBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'Jubeat Copious Append'
|
|
|
|
version: int = VersionConstants.JUBEAT_COPIOUS_APPEND
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[JubeatBase]:
|
|
|
|
return JubeatCopious(self.data, self.config, self.model)
|