This commit is contained in:
Yohann D'ANELLO 2020-11-12 01:58:10 +01:00
parent d241bc8234
commit 1366e6a54d
2 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class DisplayManager:
self.mainmenudisplay, self.settingsmenudisplay]
self.update_game_components()
def handle_display_action(self, action:DisplayActions) -> None:
def handle_display_action(self, action: DisplayActions) -> None:
if action == DisplayActions.REFRESH:
self.refresh()
elif action == DisplayActions.UPDATE:

View File

@ -3,10 +3,12 @@ from typing import Optional
from dungeonbattle.settings import Settings
class DisplayActions(Enum):
REFRESH = auto()
UPDATE = auto()
class GameMode(Enum):
MAINMENU = auto()
PLAY = auto()