fix: remove abstractmethod so i can code

This commit is contained in:
tretrauit 2023-06-17 03:33:05 +07:00
parent 7277d78472
commit 9126521f1b

View File

@ -10,14 +10,12 @@ class GameABC(ABC):
def __init__(self, path: PathLike = None): def __init__(self, path: PathLike = None):
pass pass
@abstractmethod
def is_installed(self) -> bool: def is_installed(self) -> bool:
""" """
Check if the game is installed Check if the game is installed
""" """
pass pass
@abstractmethod
def install_game(self, game_path: PathLike = None): def install_game(self, game_path: PathLike = None):
""" """
Install the game Install the game
@ -33,7 +31,6 @@ class GameABC(ABC):
""" """
pass pass
@abstractmethod
def install_game_from_archive( def install_game_from_archive(
self, archive: PathLike, game_path: PathLike = None self, archive: PathLike, game_path: PathLike = None
) -> None: ) -> None:
@ -48,7 +45,6 @@ class GameABC(ABC):
game_path (PathLike, optional): Path to install the game to. game_path (PathLike, optional): Path to install the game to.
""" """
@abstractmethod
def install_update_from_archive( def install_update_from_archive(
self, archive: PathLike, game_path: PathLike = None self, archive: PathLike, game_path: PathLike = None
) -> None: ) -> None:
@ -61,7 +57,6 @@ class GameABC(ABC):
""" """
pass pass
@abstractmethod
def get_version(self) -> tuple[int, int, int]: def get_version(self) -> tuple[int, int, int]:
""" """
Get the game version Get the game version
@ -70,21 +65,18 @@ class GameABC(ABC):
""" """
pass pass
@abstractmethod
def get_update(self): def get_update(self):
""" """
Get the game update Get the game update
""" """
pass pass
@abstractmethod
def get_voiceover_update(self, language: str): def get_voiceover_update(self, language: str):
""" """
Get the voiceover update Get the voiceover update
""" """
pass pass
@abstractmethod
def get_channel(self): def get_channel(self):
""" """
Get the game channel Get the game channel