2019-12-08 22:43:49 +01:00
|
|
|
# vim: set fileencoding=utf-8
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from bemani.backend.ddr.base import DDRBase
|
|
|
|
from bemani.common import VersionConstants
|
|
|
|
|
|
|
|
|
|
|
|
class DDRX(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution X'
|
|
|
|
version: int = VersionConstants.DDR_X
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRSuperNova2(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRSuperNova2(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution SuperNova 2'
|
|
|
|
version: int = VersionConstants.DDR_SUPERNOVA_2
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRSuperNova(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRSuperNova(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution SuperNova'
|
|
|
|
version: int = VersionConstants.DDR_SUPERNOVA
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRExtreme(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRExtreme(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution Extreme'
|
|
|
|
version: int = VersionConstants.DDR_EXTREME
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR7thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR7thMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 7thMix'
|
|
|
|
version: int = VersionConstants.DDR_7THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR6thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR6thMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 6thMix'
|
|
|
|
version: int = VersionConstants.DDR_6THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR5thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR5thMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 5thMix'
|
|
|
|
version: int = VersionConstants.DDR_5THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR4thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR4thMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 4thMix'
|
|
|
|
version: int = VersionConstants.DDR_4THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR3rdMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR3rdMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 3rdMix'
|
|
|
|
version: int = VersionConstants.DDR_3RDMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR2ndMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR2ndMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 2ndMix'
|
|
|
|
version: int = VersionConstants.DDR_2NDMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR1stMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR1stMix(DDRBase):
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
name: str = 'DanceDanceRevolution 1stMix'
|
|
|
|
version: int = VersionConstants.DDR_1STMIX
|