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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.JUBEAT
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
class JubeatRipples(JubeatBase):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Ripples"
|
2021-09-07 19:56:15 +02:00
|
|
|
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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Ripples Append"
|
2021-09-07 19:56:15 +02:00
|
|
|
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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Knit"
|
2021-09-07 19:56:15 +02:00
|
|
|
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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Knit Append"
|
2021-09-07 19:56:15 +02:00
|
|
|
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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Copious"
|
2021-09-07 19:56:15 +02:00
|
|
|
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):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "Jubeat Copious Append"
|
2021-09-07 19:56:15 +02:00
|
|
|
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)
|