Linting
This commit is contained in:
parent
d241bc8234
commit
1366e6a54d
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue