2019-12-08 22:43:49 +01:00
|
|
|
# vim: set fileencoding=utf-8
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from bemani.backend.base import Base
|
|
|
|
from bemani.backend.core import CoreHandler, CardManagerHandler, PASELIHandler
|
|
|
|
from bemani.common import GameConstants
|
|
|
|
|
|
|
|
|
|
|
|
class BishiBashiBase(CoreHandler, CardManagerHandler, PASELIHandler, Base):
|
|
|
|
"""
|
|
|
|
Base game class for all one Bishi Bashi version that we support (lol).
|
|
|
|
In theory we could add support for Bishi Bashi Channel, but that never
|
|
|
|
happened.
|
|
|
|
"""
|
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
game: GameConstants = GameConstants.BISHI_BASHI
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
def previous_version(self) -> Optional["BishiBashiBase"]:
|
2019-12-08 22:43:49 +01:00
|
|
|
"""
|
|
|
|
Returns the previous version of the game, based on this game. Should
|
|
|
|
be overridden.
|
|
|
|
"""
|
|
|
|
return None
|