mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-05 21:38:08 +03:00
Switch to using an enum for GameConstants.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import List, Any, Dict
|
||||
|
||||
from bemani.api.exceptions import APIException
|
||||
from bemani.common import GameConstants
|
||||
from bemani.data import Data
|
||||
|
||||
|
||||
@@ -13,7 +14,7 @@ class BaseObject:
|
||||
various fetch versions.
|
||||
"""
|
||||
|
||||
def __init__(self, data: Data, game: str, version: int, omnimix: bool) -> None:
|
||||
def __init__(self, data: Data, game: GameConstants, version: int, omnimix: bool) -> None:
|
||||
self.data = data
|
||||
self.game = game
|
||||
self.version = version
|
||||
|
||||
Reference in New Issue
Block a user